wok-6.x annotate lxrandr/receipt @ rev 19804
mpv: maintainer's update
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Feb 26 05:06:21 2017 +0200 (2017-02-26) |
parents | 5e26ab6bd360 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
psychomaniak@19031 | 4 VERSION="0.3.1" |
gokhlayeh@5955 | 5 CATEGORY="utilities" |
al@17992 | 6 SHORT_DESC="LXDE monitor configuration tool" |
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" |
al@17992 | 12 TAGS="LXDE" |
pankso@16261 | 13 HOST_ARCH="i486 arm" |
gokhlayeh@5955 | 14 |
pascal@15000 | 15 DEPENDS="gtk+ xorg-xrandr" |
pankso@16261 | 16 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev" |
pascal@15000 | 17 |
gokhlayeh@5955 | 18 # Rules to configure and make the package. |
gokhlayeh@5955 | 19 compile_rules() |
gokhlayeh@5955 | 20 { |
pankso@16261 | 21 # Fix sources. |
gokhlayeh@5955 | 22 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@8340 | 23 touch po/stamp-it |
gokhlayeh@5955 | 24 ./configure \ |
gokhlayeh@5955 | 25 $CONFIGURE_ARGS && |
pankso@16261 | 26 make && make install |
gokhlayeh@5955 | 27 } |
gokhlayeh@5955 | 28 |
gokhlayeh@5955 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 30 genpkg_rules() |
gokhlayeh@5955 | 31 { |
gokhlayeh@5955 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 34 cp -a $install/usr/share $fs/usr |
gokhlayeh@5955 | 35 |
gokhlayeh@5955 | 36 # Remove man & locales |
gokhlayeh@5955 | 37 rm -rf $fs/usr/share/man |
al@18545 | 38 rm -rf $fs/usr/share/locale |
al@18545 | 39 |
al@18545 | 40 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \ |
al@18545 | 41 $fs/usr/share/applications/lxrandr.desktop |
gokhlayeh@5955 | 42 } |