2010-12-13 23:33:54 +00:00
|
|
|
# Template file for 'enca'
|
|
|
|
pkgname=enca
|
2013-01-07 10:45:58 +00:00
|
|
|
version=1.14
|
2013-04-12 08:23:11 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-07 10:45:58 +00:00
|
|
|
configure_args="--enable-external --disable-static"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="pkg-config recode-devel"
|
2013-01-07 10:45:58 +00:00
|
|
|
short_desc="Extremely Naive Charset Analyser and converter"
|
2010-12-13 23:33:54 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-01-07 10:45:58 +00:00
|
|
|
homepage="http://cihar.com/software/enca/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://dl.cihar.com/enca/enca-${version}.tar.bz2"
|
|
|
|
checksum=7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58
|
2013-04-12 08:23:11 +00:00
|
|
|
|
|
|
|
libenca_package() {
|
|
|
|
short_desc="${short_desc} - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
enca-devel_package() {
|
|
|
|
depends="recode-devel libenca>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
enca_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|