blob: dde57a5a2786529c5c7787a0b533212105917fcd (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libguess
pkgver=1.1
pkgrel=0
pkgdesc="extremely fast character set guessing library"
url="http://atheme.org/project/libguess"
arch="all"
license="ISC"
depends=
makedepends="libmowgli-dev"
install=
subpackages="$pkgname-dev"
source="http://distfiles.atheme.org/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
# workaround bug in busybox
sed -e "/touch/s/0001010000/200001010000/g" \
-i configure
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="efc2d53c30e47ffccae7148e53433396 libguess-1.1.tar.gz"
|