void-packages/srcpkgs/gettext-tiny/template
2014-06-07 09:14:16 +02:00

29 lines
721 B
Text

# Template build file for 'gettext-tiny'.
pkgname=gettext-tiny
version=0.0.4
revision=1
short_desc="Tiny Internationalized Message Handling Library and tools"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/rofl0r/gettext-tiny"
license="MIT"
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
checksum=f01dcae13516d8ab5e23385d7ea36c54a9c7c8e6a0e690d79538eb23e2f1cc46
conflicts="gettext>=0"
do_build() {
make ${makejobs} prefix=/usr
}
do_install() {
make ${makejobs} prefix=/usr DESTDIR=${DESTDIR} install
}
gettext-tiny-devel_package() {
conflicts="glibc-devel>=0 musl>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib
}
}