wok-current annotate lxrandr/receipt @ rev 6535
Up: subversion to 1.6.13. Added build_depends need for libproxy. libproxy needs a rebuild anyway
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 06 00:38:44 2010 +0000 (2010-10-06) |
parents | |
children | af022550edde |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
gokhlayeh@5955 | 4 VERSION="0.1.1" |
gokhlayeh@5955 | 5 CATEGORY="utilities" |
gokhlayeh@5955 | 6 SHORT_DESC="LXDE screen manager." |
gokhlayeh@5955 | 7 MAINTAINER="gokhlayeh@mailoo.org" |
gokhlayeh@5955 | 8 DEPENDS="gtk+ xorg-xrandr" |
gokhlayeh@5955 | 9 BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev" |
gokhlayeh@5955 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5955 | 11 WEB_SITE="http://lxde.org" |
gokhlayeh@5955 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
gokhlayeh@5955 | 13 |
gokhlayeh@5955 | 14 # Rules to configure and make the package. |
gokhlayeh@5955 | 15 compile_rules() |
gokhlayeh@5955 | 16 { |
gokhlayeh@5955 | 17 cd $src |
gokhlayeh@5955 | 18 |
gokhlayeh@5955 | 19 #Fix sources. |
gokhlayeh@5955 | 20 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@5955 | 21 touch -r po/Makefile po/stamp-it |
gokhlayeh@5955 | 22 |
gokhlayeh@5955 | 23 ./configure \ |
gokhlayeh@5955 | 24 --prefix=/usr \ |
gokhlayeh@5955 | 25 --infodir=/usr/share/info \ |
gokhlayeh@5955 | 26 --mandir=/usr/share/man \ |
gokhlayeh@5955 | 27 $CONFIGURE_ARGS && |
gokhlayeh@5955 | 28 make && make DESTDIR=$PWD/_pkg install |
gokhlayeh@5955 | 29 } |
gokhlayeh@5955 | 30 |
gokhlayeh@5955 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 32 genpkg_rules() |
gokhlayeh@5955 | 33 { |
gokhlayeh@5955 | 34 mkdir -p $fs/usr |
gokhlayeh@5955 | 35 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@5955 | 36 cp -a $_pkg/usr/share $fs/usr |
gokhlayeh@5955 | 37 |
gokhlayeh@5955 | 38 # Remove man & locales |
gokhlayeh@5955 | 39 rm -rf $fs/usr/share/man |
gokhlayeh@5955 | 40 rm -rf $fs/usr/share/locale |
gokhlayeh@5955 | 41 } |
gokhlayeh@5955 | 42 |