wok view varka/receipt @ rev 25689

updated mmv (1.01b-18 -> 2.6)
author Hans-G?nter Theisgen
date Sat Apr 13 10:48:47 2024 +0100 (7 months ago)
parents b75a8bca8ff9
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://code.launchpad.net/varka 2>/dev/null | \
21 sed '/varka\/[0-9]/!d;s|.*varka/||;s|/files.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|.*xalign|//needs Gtk+3.16 &|' lib/GtkPatch/AboutDialog.vala
28 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
29 mkdir build && cd build
30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \
31 make && \
32 make DESTDIR=$install install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }