wok view varka/receipt @ rev 24545

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 24 19:32:16 2022 +0000 (2022-02-24)
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 }