wok annotate lxrandr/receipt @ rev 22184
updated xorg-bdftopcf (1.0.3 -> 1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 08:55:19 2019 +0100 (2019-11-11) |
parents | c3426057458e |
children | 5508444ae030 |
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" |
pascal@20671 | 10 WEB_SITE="https://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 } |