wok view lxrandr/receipt @ rev 23852

binutils: can assemble x86_64 again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 15 17:07:36 2020 +0000 (2020-06-15)
parents 5508444ae030
children ee53899c6189
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://wiki.lxde.org/en/LXRandR"
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 }