wok-next view varka/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 65f5c0b7dcd4 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="varka"
4 VERSION="0.1"
5 CATEGORY="development"
6 SHORT_DESC="A library on top of gtk to build applications"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/varka"
11 BRANCH="15"
12 TARBALL="$PACKAGE-$BRANCH.tar.bz2"
13 WGET_URL="bzr|lp:varka"
15 BUILD_DEPENDS="bzr cmake gobject-introspection-dev gtk3-dev glib-dev vala \
16 gettext-tools"
17 SPLIT="varka-dev"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 varka)
33 copy @std
34 DEPENDS="gtk3"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }