summaryrefslogtreecommitdiff
path: root/user/libguess/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 05:17:48 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 05:18:04 -0500
commitd12790f1afccf9cdccf54e99d7df1da56060bf4f (patch)
tree4e12bf4c48ddf3f2e583538e594dbb2f8fe2a585 /user/libguess/APKBUILD
parent15956969034219fe023dc7a42883dd2e525aa06e (diff)
downloadpackages-d12790f1afccf9cdccf54e99d7df1da56060bf4f.tar.gz
packages-d12790f1afccf9cdccf54e99d7df1da56060bf4f.tar.bz2
packages-d12790f1afccf9cdccf54e99d7df1da56060bf4f.tar.xz
packages-d12790f1afccf9cdccf54e99d7df1da56060bf4f.zip
user/libguess: pull in, take, fix
Diffstat (limited to 'user/libguess/APKBUILD')
-rw-r--r--user/libguess/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libguess/APKBUILD b/user/libguess/APKBUILD
new file mode 100644
index 000000000..60dea1c9c
--- /dev/null
+++ b/user/libguess/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libguess
+pkgver=1.2
+pkgrel=1
+pkgdesc="Extremely fast character set guessing library"
+url="http://atheme.org/"
+arch="all"
+options="!check" # Test suite requires package to be installed first
+license="ISC"
+depends=""
+makedepends="libmowgli-dev autoconf"
+subpackages="$pkgname-dev"
+source="http://rabbit.dereferenced.org/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+ autoconf
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a17269e42e12b81e0201a27e41d9e290ac7351000473ddfcb968d5fc6e09cb5753d0534277ec257d43224cb675c8d563849853ab68ab6079a35480d6c40fb053 libguess-1.2.tar.bz2"