diff options
-rw-r--r-- | testing/libmhash/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libmhash/APKBUILD b/testing/libmhash/APKBUILD new file mode 100644 index 0000000000..2eb82159fb --- /dev/null +++ b/testing/libmhash/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=libmhash +_pkgname=mhash +pkgver=0.9.9.9 +pkgrel=0 +pkgdesc="Library which provides a uniform interface to a large number of hash algorithms" +url="http://mhash.sourceforge.net/" +arch="all" +license="GPL" +depends="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/$_pkgname/files/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.gz/download" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="ee66b7d5947deb760aeff3f028e27d25 libmhash-0.9.9.9.tar.gz" +sha256sums="3dcad09a63b6f1f634e64168dd398e9feb9925560f9b671ce52283a79604d13e libmhash-0.9.9.9.tar.gz" +sha512sums="82ad8b8e9b0463c5a14f5c0e572badc42c4697bac5505443b144287b3f8510b1410721b4277f092a0d6045c4342e997831011cdfcbfa8f1dae6edd5d9e3cefee libmhash-0.9.9.9.tar.gz" |