wok-next annotate lxrandr/receipt @ rev 20564
shell-detector, screenfetch: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:14:26 2018 +0200 (2018-04-10) |
parents | 60bd4df08f57 |
children | f48456621a9d |
rev | line source |
---|---|
al@19814 | 1 # SliTaz package receipt v2. |
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" |
al@19893 | 9 WEB_SITE="https://wiki.lxde.org/en/LXRandR" |
gokhlayeh@5955 | 10 |
al@19814 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19814 | 12 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@19814 | 13 |
al@19814 | 14 BUILD_DEPENDS="intltool gtk+-dev" |
pascal@15000 | 15 |
gokhlayeh@5955 | 16 # Rules to configure and make the package. |
gokhlayeh@5955 | 17 compile_rules() |
gokhlayeh@5955 | 18 { |
al@19814 | 19 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxrandr.html |
al@19814 | 20 |
al@19814 | 21 # change icon and remove keywords from desktop file |
al@19814 | 22 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|; |
al@19814 | 23 /^_Keywords=/d' data/lxrandr.desktop.in |
al@19814 | 24 |
gokhlayeh@5955 | 25 ./configure \ |
gokhlayeh@5955 | 26 $CONFIGURE_ARGS && |
pankso@16261 | 27 make && make install |
gokhlayeh@5955 | 28 } |
gokhlayeh@5955 | 29 |
gokhlayeh@5955 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 31 genpkg_rules() |
gokhlayeh@5955 | 32 { |
al@19814 | 33 copy @std |
al@19814 | 34 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango" |
al@19814 | 35 TAGS="LXDE" |
gokhlayeh@5955 | 36 } |