wok-next annotate varka/receipt @ rev 21602
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:19:05 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
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" |
al@20464 | 10 |
pascal@15723 | 11 BRANCH="15" |
pascal@15723 | 12 TARBALL="$PACKAGE-$BRANCH.tar.bz2" |
pascal@15723 | 13 WGET_URL="bzr|lp:varka" |
pascal@15723 | 14 |
al@21094 | 15 COOKOPTS="force-arch" # different .gir |
al@21094 | 16 |
al@21017 | 17 BUILD_DEPENDS="bzr cmake gobject-introspection-dev gtk3-dev glib-dev vala \ |
al@21020 | 18 gettext" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
pascal@15723 | 20 |
al@20464 | 21 compile_rules() { |
pascal@15723 | 22 export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)" |
al@20464 | 23 mkdir build |
al@20464 | 24 cd build |
al@20464 | 25 cmake \ |
al@20464 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20464 | 27 .. && |
al@20464 | 28 make && |
pascal@15723 | 29 make DESTDIR=$install install |
pascal@15723 | 30 } |
pascal@15723 | 31 |
al@20464 | 32 genpkg_rules() { |
al@20464 | 33 case $PACKAGE in |
al@20464 | 34 varka) |
al@20464 | 35 copy @std |
al@21017 | 36 DEPENDS="gtk3" |
al@20464 | 37 ;; |
al@20464 | 38 *-dev) |
al@20464 | 39 copy @dev |
al@20464 | 40 ;; |
al@20464 | 41 esac |
pascal@15723 | 42 } |