wok annotate lxrandr/receipt @ rev 13836

epdfview: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 07 15:14:06 2013 +0100 (2013-01-07)
parents 0f09a0325bbf
children 380ffe05937a
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"
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@8340 21 touch 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