wok view lxrandr/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
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 }