From c2f77481f457b72ca891953095c2a545550f75f1 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 15 Sep 2010 23:39:48 +0000 Subject: main/enca: new apkbuild (cherry picked from commit b02d47d54a06b20d2fc8aae5da63a0d575392083) --- main/enca/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 main/enca/APKBUILD (limited to 'main/enca/APKBUILD') diff --git a/main/enca/APKBUILD b/main/enca/APKBUILD new file mode 100644 index 000000000..bac568143 --- /dev/null +++ b/main/enca/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=enca +pkgver=1.13 +pkgrel=0 +pkgdesc="Charset analyser and converter" +url="http://freshmeat.net/projects/enca/" +license="GPL" +depends= +makedepends= +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib \ + --enable-external \ + --without-libiconv + + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="762bead5d9a0a5e55024e1102baaa89d enca-1.13.tar.bz2" -- cgit v1.2.3