summaryrefslogtreecommitdiffstats
path: root/testing/libfetch/APKBUILD
blob: fcd925cb16a980699abb90c1199bcddd280e29bf (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
30
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libfetch
pkgver=2.33
pkgrel=0
pkgdesc="URL based download library"
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
arch="all"
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="cf18907a75c67f543b1173d7f87830af  Makefile
a176b94f7f30344ef8a71c047ca2136b  libfetch-2.33.tar.gz"