2013-02-11 14:10:00 +00:00
|
|
|
# Template file for 'libapp'
|
|
|
|
pkgname=libapp
|
|
|
|
version=20110513
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
|
|
|
short_desc="Utilities for repetitive tasks in app development"
|
2013-02-11 14:10:00 +00:00
|
|
|
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
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libapp-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|