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