wok-next view lxrandr/receipt @ rev 18627

syslinux/taziso/showfavinfo: show receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 24 14:51:11 2015 +0100 (2015-11-24)
parents c9e270dd464f
children c3426057458e
line source
1 # SliTaz package receipt.
3 PACKAGE="lxrandr"
4 VERSION="0.3.0"
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 }