wok-next annotate lxrandr/receipt @ rev 15689
Fix dpkg receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:57:52 2013 +0100 (2013-12-21) |
parents | a55d1788b231 |
children | 523db8f94fcb |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
devl547@11277 | 4 VERSION="0.1.2" |
gokhlayeh@5955 | 5 CATEGORY="utilities" |
gokhlayeh@5955 | 6 SHORT_DESC="LXDE screen manager." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
gokhlayeh@5955 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5955 | 10 WEB_SITE="http://lxde.org" |
gokhlayeh@5955 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
gokhlayeh@5955 | 12 |
pascal@15000 | 13 DEPENDS="gtk+ xorg-xrandr" |
pascal@15000 | 14 BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev" |
pascal@15000 | 15 |
gokhlayeh@5955 | 16 # Rules to configure and make the package. |
gokhlayeh@5955 | 17 compile_rules() |
gokhlayeh@5955 | 18 { |
gokhlayeh@5955 | 19 cd $src |
gokhlayeh@5955 | 20 |
gokhlayeh@5955 | 21 #Fix sources. |
gokhlayeh@5955 | 22 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@8340 | 23 touch po/stamp-it |
gokhlayeh@5955 | 24 |
gokhlayeh@5955 | 25 ./configure \ |
gokhlayeh@5955 | 26 --prefix=/usr \ |
gokhlayeh@5955 | 27 --infodir=/usr/share/info \ |
gokhlayeh@5955 | 28 --mandir=/usr/share/man \ |
gokhlayeh@5955 | 29 $CONFIGURE_ARGS && |
pascal@15000 | 30 make && make DESTDIR=$DESTDIR install |
gokhlayeh@5955 | 31 } |
gokhlayeh@5955 | 32 |
gokhlayeh@5955 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 34 genpkg_rules() |
gokhlayeh@5955 | 35 { |
gokhlayeh@5955 | 36 mkdir -p $fs/usr |
pascal@15000 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 38 cp -a $install/usr/share $fs/usr |
gokhlayeh@5955 | 39 |
gokhlayeh@5955 | 40 # Remove man & locales |
gokhlayeh@5955 | 41 rm -rf $fs/usr/share/man |
gokhlayeh@5955 | 42 rm -rf $fs/usr/share/locale |
gokhlayeh@5955 | 43 } |
gokhlayeh@5955 | 44 |