aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libfetch/APKBUILD
blob: c03cc50c97ae22d2e88a131d891e5c802ba97548 (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.30
pkgrel=1
pkgdesc="URL based download library"
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
arch="x86 x86_64"
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
ffa85bc269144d5e86ca6f81c5dc5ca5  libfetch-2.30.tar.gz"