mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 08:42:11 +01:00
35 lines
777 B
Plaintext
35 lines
777 B
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=enca
|
|
pkgver=1.19
|
|
pkgrel=4
|
|
pkgdesc="Charset analyser and converter"
|
|
url="http://freshmeat.net/projects/enca/"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://dl.cihar.com/enca/enca-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--libexecdir=/usr/lib \
|
|
--enable-external
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="6678639992685180457bbef7b0da6e475071ec6935dfd672188fc242ef80b906e75eff9a206e07989893d0ef4ae5eb500f1d0bbd6b4d58146c94bb143b5fb296 enca-1.19.tar.xz"
|