wok view varka/receipt @ rev 24738

updated libevent and libevent-dev (2.1.11 -> 2.1.12)
author Hans-G?nter Theisgen
date Wed Mar 16 09:48:35 2022 +0100 (2022-03-16)
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 }