New package: gettext-tiny-0.0.2 (from pancake).

This commit is contained in:
Juan RP 2013-05-02 14:27:33 +02:00
parent 11503bba71
commit 3c59c7cf50
2 changed files with 37 additions and 0 deletions

1
srcpkgs/gettext-tiny-devel Symbolic link
View file

@ -0,0 +1 @@
gettext-tiny

View file

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