void-packages/srcpkgs/libapp/template

41 lines
867 B
Plaintext

# Template file for 'libapp'
pkgname=libapp
version=20110513
revision=3
short_desc="Utilities for repetitive tasks in app development"
maintainer="pancake <pancake@nopcode.org>"
license="LGPL-3"
homepage="https://github.com/drotiro/libapp"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=654604b5ead726de0ebb1932b49785a6146c59d312f4931080a04e86b7afb177
do_fetch() {
git clone git://github.com/drotiro/libapp.git ${pkgname}-${version}
cd ${pkgname}-${version}
git reset --hard e91cd8d35f16f73a8f5fb067470024228c9cdabd
}
do_build() {
make ${makejobs} PREFIX=/usr
}
do_install() {
make install PREFIX=${DESTDIR}/usr
}
libapp-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libapp_package() {
pkg_install() {
vmove usr
}
}