wok-current annotate xpad/receipt @ rev 24974
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 11:23:24 2022 +0000 (2022-05-02) |
parents | 2b9f96603415 |
children |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="xpad" |
al@13752 | 4 VERSION="4.1" |
pankso@179 | 5 CATEGORY="utilities" |
al@13752 | 6 SHORT_DESC="Sticky note application for X" |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@13752 | 9 WEB_SITE="https://launchpad.net/xpad" |
pankso@41 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@13752 | 11 WGET_URL="https://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL" |
al@13752 | 12 HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad" |
al@13752 | 13 |
al@13753 | 14 DEPENDS="gtk+ util-linux-uuid xorg-libICE xorg-libSM" |
al@13752 | 15 BUILD_DEPENDS="gtk+-dev xorg-libSM-dev wget" |
monghitri@13908 | 16 GENERIC_PIXMAPS="no" |
pankso@41 | 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 |
pankso@41 | 25 # Rules to configure and make the package. |
pankso@41 | 26 compile_rules() |
pankso@41 | 27 { |
al@13753 | 28 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c |
al@13752 | 29 ./configure $CONFIGURE_ARGS && |
slaxemulator@10046 | 30 make && make install |
pankso@41 | 31 } |
pankso@41 | 32 |
pankso@41 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 34 genpkg_rules() |
pankso@41 | 35 { |
monghitri@13991 | 36 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/ |
pascal@14999 | 37 cp -a $install/usr/bin $fs/usr |
monghitri@13991 | 38 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/ |
pankso@41 | 39 } |