wok annotate lxrandr/receipt @ rev 17379

Add libtic
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 24 16:18:41 2014 +0100 (2014-11-24)
parents 380ffe05937a
children 3ff62c9179db
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"
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