wok view lxrandr/receipt @ rev 8221
imported patch cleanup_inprogress/slitaz-i18n.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 02eb51f3faf9 |
children | 0f09a0325bbf |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxrandr"
4 VERSION="0.1.1"
5 CATEGORY="utilities"
6 SHORT_DESC="LXDE screen manager."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="gtk+ xorg-xrandr"
9 BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://lxde.org"
12 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 #Fix sources.
20 echo "Icon=video-display" >> data/lxrandr.desktop.in
21 touch -r po/Makefile po/stamp-it
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share $fs/usr
38 # Remove man & locales
39 rm -rf $fs/usr/share/man
40 rm -rf $fs/usr/share/locale
41 }