# Contributor: Ćukasz Jendrysik <scadu@yandex.com> # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> setvar pkgname = 'libguess' setvar pkgver = '1.2' setvar pkgrel = '0' setvar pkgdesc = ""extremely fast character set guessing library"" setvar url = ""http://atheme.org/project/libguess"" setvar arch = ""all"" setvar license = ""ISC"" setvar depends = '' setvar makedepends = ""libmowgli-dev autoconf"" setvar install = '' setvar subpackages = ""$pkgname-dev"" setvar source = ""http://rabbit.dereferenced.org/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $_builddir update_config_sub || return 1 for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } autoconf } proc 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 } proc package { cd $_builddir make DESTDIR="$pkgdir" install } setvar md5sums = ""7633fbfbeb75b1ded7f33cca3d8d4762 libguess-1.2.tar.bz2"" setvar sha256sums = ""8019a16bdc7ca9d2efbdcc1429d48d033d5053d42e45fccea10abf98074f05f8 libguess-1.2.tar.bz2"" setvar sha512sums = ""a17269e42e12b81e0201a27e41d9e290ac7351000473ddfcb968d5fc6e09cb5753d0534277ec257d43224cb675c8d563849853ab68ab6079a35480d6c40fb053 libguess-1.2.tar.bz2""