New package: libguess-1.1.

This commit is contained in:
davehome 2012-09-20 07:19:35 -06:00
parent 4d618a9409
commit b02a90175c
5 changed files with 49 additions and 0 deletions

View file

@ -1002,3 +1002,4 @@ libgvplugin_core.so.6 graphviz-libs-2.28.0_6
libflowcanvas.so.5 flowcanvas-0.7.1_1
liblash.so.1 ladish-1_1
libmowgli-2.so.0 libmowgli-2.0.0_1
libguess.so.1 libguess-1.1_1

1
srcpkgs/libguess-devel Symbolic link
View file

@ -0,0 +1 @@
libguess

View file

@ -0,0 +1,13 @@
# Template file for 'libguess-devel'.
#
noarch=yes
depends="libmowgli-devel libguess>=${version}"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View file

@ -0,0 +1,2 @@
libmowgli-2.so.0
libc.so.6

32
srcpkgs/libguess/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'libguess'
pkgname=libguess
version=1.1
build_style=gnu-configure
makedepends="pkg-config libmowgli-devel"
revision=1
short_desc="High-speed character set detection library"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.atheme.org/project/libguess"
license="custom"
distfiles="http://distfiles.atheme.org/${pkgname}-${version}.tar.gz"
checksum=e3c9ad3102c9447c591131674135795fb012e073d92e887a2b05c9bbbcbe913f
long_desc="
High-speed character set detection library.
libguess employs discrete-finite automata to deduce the character set of the
input buffer. The advantage of this is that all character sets can be checked
in parallel, and quickly. Right now, libguess passes a byte to each DFA on the
same pass, meaning that the winning character set can be deduced as
efficiently as possible.
libguess is fully reentrant, using only local stack memory for DFA operations."
subpackages="${pkgname}-devel"
pre_configure() {
sed -i 's/libmowgli >= 0.9.50/libmowgli-2/g' configure
}
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}