wok-next annotate lxrandr/receipt @ rev 17509
Up lxrandr (0.3.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Jan 09 14:59:22 2015 +0100 (2015-01-09) |
parents | 523db8f94fcb |
children | c9e270dd464f |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
psychomaniak@17509 | 4 VERSION="0.3.0" |
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" |
psychomaniak@17509 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
gokhlayeh@5955 | 10 WEB_SITE="http://lxde.org" |
gokhlayeh@5955 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@16261 | 12 HOST_ARCH="i486 arm" |
gokhlayeh@5955 | 13 |
pascal@15000 | 14 DEPENDS="gtk+ xorg-xrandr" |
pankso@16261 | 15 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev" |
pascal@15000 | 16 |
gokhlayeh@5955 | 17 # Rules to configure and make the package. |
gokhlayeh@5955 | 18 compile_rules() |
gokhlayeh@5955 | 19 { |
pankso@16261 | 20 # Fix sources. |
gokhlayeh@5955 | 21 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@8340 | 22 touch po/stamp-it |
gokhlayeh@5955 | 23 ./configure \ |
gokhlayeh@5955 | 24 $CONFIGURE_ARGS && |
pankso@16261 | 25 make && make install |
gokhlayeh@5955 | 26 } |
gokhlayeh@5955 | 27 |
gokhlayeh@5955 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 29 genpkg_rules() |
gokhlayeh@5955 | 30 { |
gokhlayeh@5955 | 31 mkdir -p $fs/usr |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/share $fs/usr |
gokhlayeh@5955 | 34 |
gokhlayeh@5955 | 35 # Remove man & locales |
gokhlayeh@5955 | 36 rm -rf $fs/usr/share/man |
gokhlayeh@5955 | 37 rm -rf $fs/usr/share/locale |
gokhlayeh@5955 | 38 } |
gokhlayeh@5955 | 39 |