void-packages/srcpkgs/libapp/template

29 lines
642 B
Bash
Raw Normal View History

# Template file for 'libapp'
pkgname=libapp
2014-06-08 10:26:01 +02:00
version=20140608
revision=1
build_style=gnu-makefile
hostmakedepends="git"
short_desc="Utilities for repetitive tasks in app development"
2014-06-08 10:26:01 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
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 10:26:01 +02:00
make PREFIX=${DESTDIR}/usr install
}
libapp-devel_package() {
2014-06-08 10:26:01 +02:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-06-08 10:26:01 +02:00
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}