wok view lxrandr/receipt @ rev 23518
updated python-ofxparse (0.14 -> 0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 13:29:12 2020 +0100 (2020-04-06) |
parents | 6e8b1bcb30e2 |
children | d33c3c211ef8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxrandr"
4 VERSION="0.3.2"
5 CATEGORY="utilities"
6 TAGS="LXDE"
7 SHORT_DESC="LXDE monitor configuration tool."
8 MAINTAINER="gokhlayeh@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://lxde.org"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 DEPENDS="gtk+ xorg-xrandr"
16 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Fix sources.
24 echo "Icon=video-display" >> data/lxrandr.desktop.in
25 touch po/stamp-it
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share $fs/usr
40 # Remove man pages and locales
41 rm -rf $fs/usr/share/man
42 rm -rf $fs/usr/share/locale
44 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \
45 $fs/usr/share/applications/lxrandr.desktop
46 }