wok-next annotate lxrandr/receipt @ rev 20180

opencc: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 12:28:56 2017 +0100 (2017-11-02)
parents aef69ec23a2f
children c4e53a39395a
rev   line source
al@19814 1 # SliTaz package receipt v2.
gokhlayeh@5955 2
gokhlayeh@5955 3 PACKAGE="lxrandr"
psychomaniak@19031 4 VERSION="0.3.1"
gokhlayeh@5955 5 CATEGORY="utilities"
al@17992 6 SHORT_DESC="LXDE monitor configuration tool"
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/LXRandR"
pankso@16261 10 HOST_ARCH="i486 arm"
gokhlayeh@5955 11
al@19814 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19814 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@19814 14
al@19814 15 BUILD_DEPENDS="intltool gtk+-dev"
pascal@15000 16
gokhlayeh@5955 17 # Rules to configure and make the package.
gokhlayeh@5955 18 compile_rules()
gokhlayeh@5955 19 {
al@19814 20 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxrandr.html
al@19814 21
al@19814 22 # change icon and remove keywords from desktop file
al@19814 23 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|;
al@19814 24 /^_Keywords=/d' data/lxrandr.desktop.in
al@19814 25
gokhlayeh@5955 26 ./configure \
gokhlayeh@5955 27 $CONFIGURE_ARGS &&
pankso@16261 28 make && make install
gokhlayeh@5955 29 }
gokhlayeh@5955 30
gokhlayeh@5955 31 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5955 32 genpkg_rules()
gokhlayeh@5955 33 {
al@19814 34 copy @std
al@19814 35 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango"
al@19814 36 TAGS="LXDE"
gokhlayeh@5955 37 }