30 lines
776 B
Bash
30 lines
776 B
Bash
# Template build file for 'libchardet'.
|
|
pkgname=libchardet
|
|
version=1.0.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl"
|
|
short_desc="Mozilla's Universal Charset Detector C/C++ API"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://ftp.oops.org/pub/oops/libchardet/"
|
|
license="MPL-1.1"
|
|
distfiles="http://ftp.oops.org/pub/oops/libchardet/libchardet-${version}.tar.bz2"
|
|
checksum=f43f5a63901f19780b5cd61ad130d432a9414e2e4da2abc0e1b80845895a7c33
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
}
|
|
|
|
libchardet-devel_package() {
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/man
|
|
}
|
|
}
|