blob: 09e74f06c39073839ec06b889efb654d3b61bd2e (
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
41
|
# 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
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="0a1483530b1fdb9e2a54786489ee0b69 enca-1.16.tar.xz"
sha256sums="7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741 enca-1.16.tar.xz"
sha512sums="27f5441214db965a0629312b7aaaa3c2380bca0f54d1cee06a489daee0f7f46d23c42ab9886c15a3c166e38950b69d1ef4c8dfc437447e350d03a34f19979900 enca-1.16.tar.xz"
|