diff options
Diffstat (limited to 'testing/libfetch/APKBUILD')
-rw-r--r-- | testing/libfetch/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/libfetch/APKBUILD b/testing/libfetch/APKBUILD new file mode 100644 index 0000000000..c224256a17 --- /dev/null +++ b/testing/libfetch/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libfetch +pkgver=2.30 +pkgrel=0 +pkgdesc="URL based download library" +url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/" +license="BSD" +depends= +makedepends="openssl-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="Makefile + ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cp "$srcdir"/Makefile "$_builddir" +} + +build () { + cd "$_builddir" + make +} + +package() { + cd "$_builddir" + make DESTDIR=$pkgdir install +} +md5sums="d811891db445b30515ac17c5bc0ab2ce Makefile +ffa85bc269144d5e86ca6f81c5dc5ca5 libfetch-2.30.tar.gz" |