wok annotate xpad/receipt @ rev 17001
linux-cloop: apply patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 11 16:36:05 2014 +0200 (2014-08-11) |
parents | 1ceb477b8f7e |
children | 1bd2c6414e5a |
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 |
pankso@41 | 18 # Rules to configure and make the package. |
pankso@41 | 19 compile_rules() |
pankso@41 | 20 { |
al@13753 | 21 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c |
al@13752 | 22 ./configure $CONFIGURE_ARGS && |
slaxemulator@10046 | 23 make && make install |
pankso@41 | 24 } |
pankso@41 | 25 |
pankso@41 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 27 genpkg_rules() |
pankso@41 | 28 { |
monghitri@13991 | 29 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/ |
pascal@14999 | 30 cp -a $install/usr/bin $fs/usr |
monghitri@13991 | 31 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/ |
pankso@41 | 32 } |