aboutsummaryrefslogtreecommitdiffstats
path: root/main/links/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-10 06:43:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-10 06:43:34 +0000
commit38c67049869867a6f3973c70837723a28c7715f0 (patch)
treea2b6a22c1be55ba284a8c205c5ce282e0c689cdc /main/links/APKBUILD
parent52d4acbd0403985b33efb1674f887617e3a41b52 (diff)
downloadaports-38c67049869867a6f3973c70837723a28c7715f0.tar.bz2
aports-38c67049869867a6f3973c70837723a28c7715f0.tar.xz
main/links: clean up aport
- add package() - remove depends that are autodetected
Diffstat (limited to 'main/links/APKBUILD')
-rw-r--r--main/links/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/links/APKBUILD b/main/links/APKBUILD
index f31b2a450d..4c5b19c095 100644
--- a/main/links/APKBUILD
+++ b/main/links/APKBUILD
@@ -7,9 +7,8 @@ url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
-# the bzip2 lib is linked static so we dont need in depends
-depends="zlib openssl"
-makedepends="pkgconfig zlib-dev openssl-dev bzip2-dev"
+depends=
+makedepends="zlib-dev openssl-dev bzip2-dev"
source="http://$pkgname.twibright.com/download/$pkgname-$pkgver.tar.bz2"
build () {
@@ -21,6 +20,10 @@ build () {
--without-x \
--disable-nls || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
}
md5sums="bf5b20529a2a811701c5af52b28ebdd4 links-2.2.tar.bz2"