aboutsummaryrefslogtreecommitdiffstats
path: root/main/elinks
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:26:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:26:53 +0000
commitb777dd773b7eff2d581980b8aa925d7e79ba5995 (patch)
treeba71a3146cea2b37f964baad884396982c09fc82 /main/elinks
parent2a038618dee6a0a71c40d2b67b6304711dc36195 (diff)
downloadaports-b777dd773b7eff2d581980b8aa925d7e79ba5995.tar.bz2
aports-b777dd773b7eff2d581980b8aa925d7e79ba5995.tar.xz
main/elinks: moved from testing
Diffstat (limited to 'main/elinks')
-rw-r--r--main/elinks/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/elinks/APKBUILD b/main/elinks/APKBUILD
new file mode 100644
index 0000000000..e32388b1a4
--- /dev/null
+++ b/main/elinks/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=elinks
+pkgver=0.11.7
+pkgrel=3
+pkgdesc="a text mode web browser"
+url="http://elinks.or.cz/"
+arch="all"
+license="GPL"
+depends=
+makedepends="bzip2-dev zlib-dev openssl-dev expat-dev libiconv-dev gettext-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 \
+ --without-included-gettext
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+
+ #fix conflict with gettext
+ rm "$pkgdir"/usr/share/locale/locale.alias
+}
+
+md5sums="fcd087a6d2415cd4c6fd1db53dceb646 elinks-0.11.7.tar.bz2"