wok-next annotate xpad/receipt @ rev 14776
Up postfix-mysql (2.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 12:23:53 2013 +0200 (2013-06-30) |
parents | d5ed16c0df59 |
children | 2b9f96603415 |
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" |
al@13752 | 8 WEB_SITE="https://launchpad.net/xpad" |
pankso@41 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@13752 | 10 WGET_URL="https://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL" |
al@13752 | 11 HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad" |
al@13752 | 12 |
al@13753 | 13 DEPENDS="gtk+ util-linux-uuid xorg-libICE xorg-libSM" |
al@13752 | 14 BUILD_DEPENDS="gtk+-dev xorg-libSM-dev wget" |
monghitri@13908 | 15 GENERIC_PIXMAPS="no" |
pankso@41 | 16 |
pankso@41 | 17 # Rules to configure and make the package. |
pankso@41 | 18 compile_rules() |
pankso@41 | 19 { |
al@13753 | 20 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c |
al@13752 | 21 ./configure $CONFIGURE_ARGS && |
slaxemulator@10046 | 22 make && make install |
pankso@41 | 23 } |
pankso@41 | 24 |
pankso@41 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 26 genpkg_rules() |
pankso@41 | 27 { |
monghitri@13991 | 28 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/ |
pankso@41 | 29 cp -a $_pkg/usr/bin $fs/usr |
monghitri@13991 | 30 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/ |
pankso@41 | 31 } |