wok-next annotate lxsession-edit/receipt @ rev 13751
clamtk: fix genpkg_rules (thanks ernia)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 02 14:23:17 2013 +0100 (2013-01-02) |
parents | |
children | 4434891fab1c |
rev | line source |
---|---|
pankso@12415 | 1 # SliTaz package receipt. |
pankso@12415 | 2 |
pankso@12415 | 3 PACKAGE="lxsession-edit" |
pankso@12415 | 4 VERSION="0.2.0" |
pankso@12415 | 5 CATEGORY="x-window" |
pankso@12415 | 6 SHORT_DESC="LXDE X session manager editor." |
pankso@12415 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12415 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12415 | 9 WGET_URL="$SF_MIRROR/lxde/LXSession%20Edit/lxsession-edit%20$VERSION/$TARBALL" |
pankso@12415 | 10 WEB_SITE="http://wiki.lxde.org/en/LXSession_Edit" |
pankso@12415 | 11 |
pankso@12415 | 12 DEPENDS="gtk+ lxsession" |
pankso@12415 | 13 BUILD_DEPENDS="gtk+-dev" |
pankso@12415 | 14 |
pankso@12415 | 15 # Rules to configure and make the package. |
pankso@12415 | 16 compile_rules() |
pankso@12415 | 17 { |
pankso@12415 | 18 cd $src |
pankso@12415 | 19 ./configure \ |
pankso@12415 | 20 --sysconfdir=/etc \ |
pankso@12415 | 21 $CONFIGURE_ARGS && |
pankso@12415 | 22 make && make install |
pankso@12415 | 23 } |
pankso@12415 | 24 |
pankso@12415 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12415 | 26 genpkg_rules() |
pankso@12415 | 27 { |
pankso@12415 | 28 mkdir -p $fs/usr/share |
pankso@12415 | 29 cp -a $install/usr/bin $fs/usr |
pankso@12415 | 30 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@12415 | 31 } |