wok annotate varka/receipt @ rev 22954
updated iperf (2.0.13 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 15:11:56 2020 +0100 (2020-02-28) |
parents | e10c58dd2635 |
children | b7f1bd1b9ac7 |
rev | line source |
---|---|
pascal@15723 | 1 # SliTaz package receipt. |
pascal@15723 | 2 |
pascal@15723 | 3 PACKAGE="varka" |
pascal@15723 | 4 VERSION="0.1" |
pascal@15723 | 5 CATEGORY="development" |
pascal@15723 | 6 SHORT_DESC="A library on top of gtk to build applications" |
pascal@15723 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15723 | 8 LICENSE="GPL3" |
pascal@15723 | 9 WEB_SITE="https://launchpad.net/varka" |
pascal@15723 | 10 BRANCH="15" |
pascal@15723 | 11 TARBALL="$PACKAGE-$BRANCH.tar.bz2" |
pascal@15723 | 12 WGET_URL="bzr|lp:varka" |
pascal@15723 | 13 |
pascal@15723 | 14 DEPENDS="gtk+3" |
pascal@15723 | 15 BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala" |
pascal@15723 | 16 |
pascal@15723 | 17 # Rules to configure and make the package. |
pascal@15723 | 18 compile_rules() |
pascal@15723 | 19 { |
pascal@20615 | 20 sed -i 's|.*xalign|//needs Gtk+3.16 &|' lib/GtkPatch/AboutDialog.vala |
pascal@15723 | 21 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)" |
pascal@15723 | 22 mkdir build && cd build |
pascal@15723 | 23 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \ |
pascal@15723 | 24 make && \ |
pascal@15723 | 25 make DESTDIR=$install install |
pascal@15723 | 26 } |
pascal@15723 | 27 |
pascal@15723 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15723 | 29 genpkg_rules() |
pascal@15723 | 30 { |
pascal@15723 | 31 mkdir -p $fs/usr/lib |
pascal@15723 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15723 | 33 } |