void-packages/srcpkgs/libapp/template

29 lines
645 B
Bash
Raw Normal View History

# Template file for 'libapp'
pkgname=libapp
2014-06-08 08:26:01 +00:00
version=20140608
revision=1
build_style=gnu-makefile
hostmakedepends="git"
short_desc="Utilities for repetitive tasks in app development"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
homepage="https://github.com/drotiro/libapp"
do_fetch() {
git clone git://github.com/drotiro/libapp.git ${pkgname}-${version}
}
do_install() {
2014-06-08 08:26:01 +00:00
make PREFIX=${DESTDIR}/usr install
}
libapp-devel_package() {
2014-06-08 08:26:01 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-06-08 08:26:01 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}