aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-02 13:11:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-02 13:11:56 +0000
commit1ccad10bd90764d5a37ede08488aa4928410025f (patch)
tree2c09eae72efa8f06db16b4ac02f8e6f434941991 /testing
parentb4dedb42f5eea93e328cfd5a7915c1f9c1f484f4 (diff)
downloadaports-1ccad10bd90764d5a37ede08488aa4928410025f.tar.bz2
aports-1ccad10bd90764d5a37ede08488aa4928410025f.tar.xz
testing/elinks: new aport
a text mode web browser http://elinks.or.cz/
Diffstat (limited to 'testing')
-rw-r--r--testing/elinks/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/elinks/APKBUILD b/testing/elinks/APKBUILD
new file mode 100644
index 0000000000..9810765b84
--- /dev/null
+++ b/testing/elinks/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=elinks
+pkgver=0.11.7
+pkgrel=0
+pkgdesc="a text mode web browser"
+url="http://elinks.or.cz/"
+license="GPL"
+depends=
+makedepends="bzip2-dev zlib-dev openssl-dev expat-dev libiconv-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://elinks.or.cz/download/elinks-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ # we should not link lua with -llualib
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="fcd087a6d2415cd4c6fd1db53dceb646 elinks-0.11.7.tar.bz2"