wok view varka/receipt @ rev 20615

Update varka
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 21 20:44:57 2018 +0100 (2018-12-21)
parents e10c58dd2635
children b7f1bd1b9ac7
line source
1 # SliTaz package receipt.
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"
10 BRANCH="15"
11 TARBALL="$PACKAGE-$BRANCH.tar.bz2"
12 WGET_URL="bzr|lp:varka"
14 DEPENDS="gtk+3"
15 BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|.*xalign|//needs Gtk+3.16 &|' lib/GtkPatch/AboutDialog.vala
21 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
22 mkdir build && cd build
23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \
24 make && \
25 make DESTDIR=$install install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }