2012-09-20 13:19:35 +00:00
|
|
|
# Template file for 'libguess'
|
|
|
|
pkgname=libguess
|
|
|
|
version=1.1
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=4
|
2012-09-20 13:19:35 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libmowgli-devel"
|
2012-09-20 13:19:35 +00:00
|
|
|
short_desc="High-speed character set detection library"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-20 13:19:35 +00:00
|
|
|
homepage="http://www.atheme.org/project/libguess"
|
|
|
|
license="custom"
|
|
|
|
distfiles="http://distfiles.atheme.org/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=e3c9ad3102c9447c591131674135795fb012e073d92e887a2b05c9bbbcbe913f
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i 's/libmowgli >= 0.9.50/libmowgli-2/g' configure
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libguess-devel_package() {
|
2014-02-20 17:02:44 +00:00
|
|
|
depends="libmowgli-devel ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 17:02:44 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|