aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libfetch/APKBUILD
blob: c224256a177dd7f9000f72f9ded3a658f7a3e8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"