wok view lxrandr/receipt @ rev 20398
Up miniupnpc (2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 12:45:10 2018 +0200 (2018-06-27) |
parents | 5e26ab6bd360 |
children | 6e8b1bcb30e2 |
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="http://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 }