wok view varka/receipt @ rev 19969
R: update deps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 02 11:23:04 2017 +0200 (2017-06-02) |
parents | |
children | b75a8bca8ff9 |
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 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
21 mkdir build && cd build
22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \
23 make && \
24 make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }