1 # Template file for 'rhash'
5 wrksrc="RHash-${version}"
6 build_style=gnu-configure
7 configure_args="--enable-openssl --disable-openssl-runtime"
8 conf_files="/etc/rhashrc"
9 makedepends="libressl-devel"
10 short_desc="Utility for computing hash sums and creating magnet links"
11 maintainer="Leah Neukirchen <leah@vuxu.org>"
13 homepage="https://github.com/rhash/RHash"
14 distfiles="https://github.com/rhash/RHash/archive/v${version}.tar.gz"
15 checksum=964df972b60569b5cb35ec989ced195ab8ea514fc46a74eab98e86569ffbcf92
16 make_build_target="all lib-shared"
17 make_install_target="install install-lib-shared"
20 sed -i 's/__GLIBC__/__linux__/' librhash/byte_order.h
25 make -C librhash install-headers DESTDIR=$DESTDIR PREFIX=/usr
26 ln -s librhash.so.0 $DESTDIR/usr/lib/librhash.so
29 rhash-devel_package() {
30 depends="${sourcepkg}>=${version}_${revision}"
31 short_desc+=" - development files"