diff options
-rw-r--r-- | testing/elinks/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/elinks/APKBUILD b/testing/elinks/APKBUILD new file mode 100644 index 000000000..9810765b8 --- /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" |