summaryrefslogblamecommitdiff
path: root/system/rhash/APKBUILD
blob: 4f30a78454ad5aee56013c400612431989e848e7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                      
            

                                                                                
                                   



                                                                   
                                                                                                        


                                









                                      



                 
                                                                                                      

 
                                                                                                                                                                 
# Contributor: Przemyslaw Pawelczyk <przemoc@zoho.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=rhash
pkgver=1.3.8
pkgrel=0
pkgdesc="Utility for calculation and verification of hash sums and magnet links"
url="http://rhash.sourceforge.net/"
arch="all"
license="MIT"
makedepends="openssl-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz"
builddir="$srcdir/RHash-$pkgver"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-lib-shared \
		--disable-lib-static \
		--enable-openssl
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install install-gmo install-lib-headers install-lib-so-link install-man
}

sha512sums="9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1  rhash-1.3.8.tar.gz"