wok-6.x annotate libsde-utils-gtk/receipt @ rev 25274
updated recordmydesktop (0.3.8.1 -> 0.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 13:57:40 2022 +0100 (2022-07-18) |
parents | 34e801e0eb52 |
children |
rev | line source |
---|---|
psychomaniak@19052 | 1 # SliTaz package receipt. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="libsde-utils-gtk" |
pascal@25095 | 4 GITHASH="3c571f0e81d55e70164320e112b443feb495b162" |
pascal@25095 | 5 VERSION=${GITHASH:0:7} |
psychomaniak@19052 | 6 CATEGORY="development" |
psychomaniak@19052 | 7 SHORT_DESC="SDE GTK Utility Library" |
al@19170 | 8 MAINTAINER="al.bobylev@gmail.com" |
psychomaniak@19052 | 9 LICENSE="GPL" |
pascal@25095 | 10 WEB_SITE="https://github.com/sde-gui/libsde-utils-gtk" |
pascal@25095 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@25095 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
psychomaniak@19052 | 13 |
psychomaniak@19052 | 14 DEPENDS="gtk+ libsde-utils" |
psychomaniak@19052 | 15 BUILD_DEPENDS="cmake gtk+-dev gdk-pixbuf-dev libsde-utils" |
psychomaniak@19052 | 16 |
pascal@24497 | 17 # What is the latest version available today? |
pascal@24497 | 18 current_version() |
pascal@24497 | 19 { |
pascal@24497 | 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24497 | 21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24497 | 22 } |
pascal@24497 | 23 |
psychomaniak@19052 | 24 # Rules to configure and make the package. |
psychomaniak@19052 | 25 compile_rules() |
psychomaniak@19052 | 26 { |
psychomaniak@19052 | 27 rm -rf $src/.git |
psychomaniak@19052 | 28 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
psychomaniak@19052 | 29 make && |
psychomaniak@19052 | 30 make install |
psychomaniak@19052 | 31 } |
psychomaniak@19052 | 32 |
psychomaniak@19052 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19052 | 34 genpkg_rules() |
psychomaniak@19052 | 35 { |
psychomaniak@19052 | 36 mkdir -p $fs/usr/lib |
psychomaniak@19052 | 37 # cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@19052 | 38 # cp -a $install/usr/share $fs/usr |
psychomaniak@19052 | 39 cp -a $install/* $fs |
psychomaniak@19052 | 40 } |