void-packages/srcpkgs/enca/template

36 lines
849 B
Text

# Template file for 'enca'
pkgname=enca
version=1.14
revision=2
build_style=gnu-configure
configure_args="--enable-external --disable-static"
makedepends="pkg-config recode-devel"
short_desc="Extremely Naive Charset Analyser and converter"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://cihar.com/software/enca/"
license="GPL-2"
distfiles="http://dl.cihar.com/enca/enca-${version}.tar.bz2"
checksum=7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58
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
}
}