mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-26 10:12:13 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=enca
|
|
pkgver=1.16
|
|
pkgrel=1
|
|
pkgdesc="Charset analyser and converter"
|
|
url="http://freshmeat.net/projects/enca/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=""
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://dl.cihar.com/${pkgname}/${pkgname}-${pkgver}.tar.xz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--libexecdir=/usr/lib \
|
|
--enable-external \
|
|
|| return 1
|
|
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="0a1483530b1fdb9e2a54786489ee0b69 enca-1.16.tar.xz"
|
|
sha256sums="7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741 enca-1.16.tar.xz"
|
|
sha512sums="27f5441214db965a0629312b7aaaa3c2380bca0f54d1cee06a489daee0f7f46d23c42ab9886c15a3c166e38950b69d1ef4c8dfc437447e350d03a34f19979900 enca-1.16.tar.xz"
|