wok-6.x annotate lxrandr/receipt @ rev 7961
Made mysql post_install have uuser and group id number 27. This is mostly so we can start having normal numbers for user and group ids.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 16 12:04:56 2011 +0000 (2011-01-16) |
parents | 02eb51f3faf9 |
children | 0f09a0325bbf |
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@7034 | 7 MAINTAINER="gokhlayeh@slitaz.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 |