diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-15 23:39:48 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-21 09:45:10 +0000 |
commit | c2f77481f457b72ca891953095c2a545550f75f1 (patch) | |
tree | 8a3624b16808a9a14c5e93e0fee23ef50f95f624 /main/enca | |
parent | 72ffd18fd4e896844c9ae7ffe69012c82c04118f (diff) | |
download | aports-c2f77481f457b72ca891953095c2a545550f75f1.tar.bz2 aports-c2f77481f457b72ca891953095c2a545550f75f1.tar.xz |
main/enca: new apkbuild
(cherry picked from commit b02d47d54a06b20d2fc8aae5da63a0d575392083)
Diffstat (limited to 'main/enca')
-rw-r--r-- | main/enca/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/enca/APKBUILD b/main/enca/APKBUILD new file mode 100644 index 0000000000..bac5681430 --- /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" |