wok diff lxlauncher/receipt @ rev 810

grsync: new desktop file
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 16 02:32:41 2008 +0200 (2008-05-16)
parents
children e54418505007
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lxlauncher/receipt	Fri May 16 02:32:41 2008 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lxlauncher"
     1.7 +VERSION="0.1.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="LXDE desktop launcher."
    1.10 +DEPENDS="xorg-libX11 gtk+"
    1.11 +BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
    1.12 +MAINTAINER="pankso@slitaz.org"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://lxde.org/"
    1.15 +WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	# Default icons to 32
    1.22 +	sed -i s/'120'/'100'/ src/lxlauncher.c
    1.23 +	sed -i s/'48'/'32'/ src/lxlauncher.c
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		$CONFIGURE_ARGS
    1.28 +	make
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/share/lxlauncher
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	# SliTaz home make config files
    1.38 +	cp stuff/gtkrc $fs/usr/share/lxlauncher
    1.39 +	cp -a stuff/background $fs/usr/share/lxlauncher
    1.40 +	chown -R root.root $fs
    1.41 +}