wok-next view varka/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 58744412e5b2 |
children | 65f5c0b7dcd4 |
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="bazaar cmake gobject-introspection-dev gtk+3-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="gtk+3"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }