wok view lxrandr/receipt @ rev 15759

Add Spk (SliTaz Packages Toolset)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 05 02:48:00 2014 +0100 (2014-01-05)
parents a55d1788b231
children 523db8f94fcb
line source
1 # SliTaz package receipt.
3 PACKAGE="lxrandr"
4 VERSION="0.1.2"
5 CATEGORY="utilities"
6 SHORT_DESC="LXDE screen manager."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lxde.org"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 DEPENDS="gtk+ xorg-xrandr"
14 BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 #Fix sources.
22 echo "Icon=video-display" >> data/lxrandr.desktop.in
23 touch po/stamp-it
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
40 # Remove man & locales
41 rm -rf $fs/usr/share/man
42 rm -rf $fs/usr/share/locale
43 }