void-packages/srcpkgs/gettext-tiny/template

30 lines
724 B
Bash
Raw Normal View History

# Template build file for 'gettext-tiny'.
pkgname=gettext-tiny
2014-06-07 07:14:16 +00:00
version=0.0.4
revision=1
short_desc="Tiny Internationalized Message Handling Library and tools"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/rofl0r/gettext-tiny"
license="MIT"
distfiles="https://github.com/rofl0r/${pkgname}/archive/v${version}.tar.gz"
2014-06-07 07:14:16 +00:00
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
}
}