diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-20 18:38:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-20 18:38:55 -0500 |
commit | a29099bf872d480dafbdb2232afddb7d1b3b50cd (patch) | |
tree | 2ada90e8786358ab491720088c0d4c39bb678eb0 | |
parent | d08e2b532af226292e1711373c1aec7d00f753ad (diff) | |
download | packages-a29099bf872d480dafbdb2232afddb7d1b3b50cd.tar.gz packages-a29099bf872d480dafbdb2232afddb7d1b3b50cd.tar.bz2 packages-a29099bf872d480dafbdb2232afddb7d1b3b50cd.tar.xz packages-a29099bf872d480dafbdb2232afddb7d1b3b50cd.zip |
system/rhash: pull in for CMake
-rw-r--r-- | system/rhash/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/system/rhash/APKBUILD b/system/rhash/APKBUILD new file mode 100644 index 000000000..e5a06b8cb --- /dev/null +++ b/system/rhash/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Przemyslaw Pawelczyk <przemoc@zoho.com> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=rhash +pkgver=1.3.6 +pkgrel=0 +pkgdesc="Utility for calculation and verification of hash sums and magnet links" +url="http://rhash.anz.ru/" +arch="all" +license="MIT" +makedepends="openssl-dev" +subpackages="$pkgname-doc $pkgname-dev $pkgname-lang $pkgname-libs" +source="$pkgname-$pkgver.tar.gz::http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz" +builddir="$srcdir/RHash-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-lib-shared \ + --disable-lib-static \ + --enable-openssl + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install install-gmo install-lib-so-link +} + +sha512sums="54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 rhash-1.3.6.tar.gz" |