wok-next annotate lxrandr/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | d5aab818505e |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@19893 | 9 WEB_SITE="https://wiki.lxde.org/en/LXRandR" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/lxrandr.html" |
gokhlayeh@5955 | 11 |
al@19814 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19814 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@19814 | 14 |
al@21017 | 15 BUILD_DEPENDS="intltool gtk2-dev" |
pascal@15000 | 16 |
al@21017 | 17 compile_rules() { |
al@19814 | 18 # change icon and remove keywords from desktop file |
al@19814 | 19 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|; |
al@19814 | 20 /^_Keywords=/d' data/lxrandr.desktop.in |
al@19814 | 21 |
al@21020 | 22 ./configure $CONFIGURE_ARGS && |
al@21020 | 23 make && |
al@21020 | 24 make install |
gokhlayeh@5955 | 25 } |
gokhlayeh@5955 | 26 |
al@21017 | 27 genpkg_rules() { |
al@19814 | 28 copy @std |
al@21105 | 29 DEPENDS="atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 pango" |
al@19814 | 30 TAGS="LXDE" |
gokhlayeh@5955 | 31 } |