blob: bfc5e6f16e65185fe8d48436988ebbb2faccbb06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Carlo Landmeter
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=enca
pkgver=1.18
pkgrel=0
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="a139a6ba811c375f50947f9c547b3306 enca-1.18.tar.xz"
sha256sums="019995e9324510f0667b73e88753bc496c744f93bff48bbfb114165f8875326c enca-1.18.tar.xz"
sha512sums="4b2d91efd023b4ed964dc4ef01bbacba7dd4866e727b1e3652c283978c75687b7502be41865f6d6e251bf1c5c7de20a40b51ffeab7c5db7776a3361bab651d08 enca-1.18.tar.xz"
|