blob: dea889cd626c714c87b4c734951a9831f9e36d37 (
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
42
43
44
45
46
47
48
49
50
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libguess
pkgver=1.2
pkgrel=0
pkgdesc="extremely fast character set guessing library"
url="http://atheme.org/project/libguess"
arch="all"
license="ISC"
depends=
makedepends="libmowgli-dev autoconf"
install=
subpackages="$pkgname-dev"
source="http://rabbit.dereferenced.org/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
autoconf
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="7633fbfbeb75b1ded7f33cca3d8d4762 libguess-1.2.tar.bz2"
sha256sums="8019a16bdc7ca9d2efbdcc1429d48d033d5053d42e45fccea10abf98074f05f8 libguess-1.2.tar.bz2"
sha512sums="a17269e42e12b81e0201a27e41d9e290ac7351000473ddfcb968d5fc6e09cb5753d0534277ec257d43224cb675c8d563849853ab68ab6079a35480d6c40fb053 libguess-1.2.tar.bz2"
|