Commit c2f77481 authored by Carlo Landmeter's avatar Carlo Landmeter

main/enca: new apkbuild

(cherry picked from commit b02d47d54a06b20d2fc8aae5da63a0d575392083)
parent 72ffd18f
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment