wok-current view lxrandr/receipt @ rev 20879

updated electric-fence (2.1.13 -> 2.2.5)
author Hans-G?nter Theisgen
date Sun Feb 24 15:20:13 2019 +0100 (2019-02-24)
parents c3426057458e
children 5508444ae030
line source
1 # SliTaz package receipt.
3 PACKAGE="lxrandr"
4 VERSION="0.3.1"
5 CATEGORY="utilities"
6 SHORT_DESC="LXDE monitor configuration tool"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://lxde.org"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ xorg-xrandr"
16 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Fix sources.
22 echo "Icon=video-display" >> data/lxrandr.desktop.in
23 touch po/stamp-it
24 ./configure \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share $fs/usr
36 # Remove man & locales
37 rm -rf $fs/usr/share/man
38 rm -rf $fs/usr/share/locale
40 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \
41 $fs/usr/share/applications/lxrandr.desktop
42 }