wok annotate gtk3-engine-unico/receipt @ rev 25284
roundup: added BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 16:14:38 2022 +0100 (2022-07-18) |
parents | 40fab26c175d |
children |
rev | line source |
---|---|
al@14225 | 1 # SliTaz package receipt. |
al@14225 | 2 |
al@14225 | 3 PACKAGE="gtk3-engine-unico" |
al@14225 | 4 VERSION="1.0.2" |
al@19126 | 5 CATEGORY="customization" |
al@14225 | 6 SHORT_DESC="Unico GTK3 theme engine" |
al@14225 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@14225 | 9 WEB_SITE="https://launchpad.net/unico" |
al@14225 | 10 SOURCE="unico" |
al@14225 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17869 | 12 WGET_URL="https://launchpad.net/unico/${VERSION%.*}/$VERSION/+download/$TARBALL" |
al@14269 | 13 TAGS="gtk3" |
al@14225 | 14 |
al@14225 | 15 DEPENDS="gtk+3" |
pascal@15234 | 16 BUILD_DEPENDS="gtk+3-dev wget libxml2-dev" |
al@14225 | 17 |
pascal@24434 | 18 # What is the latest version available today? |
pascal@24434 | 19 current_version() |
pascal@24434 | 20 { |
pascal@24434 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 22 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 23 } |
pascal@24434 | 24 |
al@14225 | 25 # Rules to configure and make the package. |
al@14225 | 26 compile_rules() |
al@14225 | 27 { |
al@14225 | 28 ./configure \ |
al@14269 | 29 --disable-static \ |
al@14269 | 30 --disable-debug \ |
al@14225 | 31 $CONFIGURE_ARGS && |
al@14225 | 32 make && |
al@14225 | 33 make install |
al@14225 | 34 } |
al@14225 | 35 |
al@14225 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14225 | 37 genpkg_rules() |
al@14225 | 38 { |
al@14225 | 39 cp -a $install/* $fs |
al@14225 | 40 find $fs -name '*.*a' -delete |
al@14225 | 41 } |