wok-next view varka/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
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"
17 SPLIT="$PACKAGE-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 }