wok-next annotate mate-screensaver/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | e863f2041090 |
children | b278b2018965 |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@17799 | 2 |
yuripourre@17799 | 3 PACKAGE="mate-screensaver" |
al@20096 | 4 VERSION="1.18.1" |
al@20096 | 5 CATEGORY="x-window" |
al@20096 | 6 SHORT_DESC="MATE screen saver and locker" |
yuripourre@17799 | 7 MAINTAINER="yuripourre@gmail.com" |
al@20096 | 8 LICENSE="GPL2" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/mate-screensaver" |
al@20096 | 10 |
yuripourre@17799 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/mate-screensaver/archive/v$VERSION.tar.gz" |
yuripourre@17799 | 13 |
al@20096 | 14 BUILD_DEPENDS="mate-common xorg-libX11-dev xorg-libXScrnSaver-dev gtk+3-dev \ |
al@20096 | 15 dbus-glib-dev mate-desktop-dev mate-menus-dev xmlto xorg-libXext-dev \ |
al@20096 | 16 mesa17-dev libmatekbd-dev libnotify-gtk3-dev" |
al@20096 | 17 SPLIT="mate-screensaver-dev" |
al@20096 | 18 |
al@20096 | 19 compile_rules() { |
al@20096 | 20 ./autogen.sh \ |
al@20096 | 21 --sysconfdir=/etc \ |
al@20096 | 22 --localstatedir=/var \ |
yuripourre@17799 | 23 $CONFIGURE_ARGS && |
yuripourre@17799 | 24 make && |
al@20096 | 25 make install |
yuripourre@17799 | 26 } |
yuripourre@17799 | 27 |
al@20096 | 28 genpkg_rules() { |
al@20096 | 29 case $PACKAGE in |
al@20096 | 30 mate-screensaver) |
al@20096 | 31 copy @std |
al@20096 | 32 DEPENDS=" atk bzlib cairo dbus dbus-glib dconf expat fontconfig \ |
al@20096 | 33 freetype gdk-pixbuf glib gtk+3 libdrm libffi libharfbuzz liblzma \ |
al@20096 | 34 libmatekbd libnotify-gtk3 libpng16 libxklavier libxml2 \ |
al@20096 | 35 mate-desktop mate-menus mesa17 pango pcre startup-notification \ |
al@20096 | 36 util-linux-blkid util-linux-mount util-linux-uuid xorg-libICE \ |
al@20096 | 37 xorg-libSM xorg-libX11 xorg-libXScrnSaver xorg-libXau \ |
al@20096 | 38 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@20096 | 39 xorg-libXi xorg-libXrandr xorg-libXrender xorg-libXxf86vm \ |
al@20096 | 40 xorg-libxcb xorg-libxkbfile xorg-libxshmfence xorg-pixman \ |
al@20096 | 41 xorg-xcb-util zlib" |
al@20096 | 42 ;; |
al@20096 | 43 *-dev) |
al@20096 | 44 copy @dev |
al@20096 | 45 ;; |
al@20096 | 46 esac |
al@20096 | 47 TAGS="MATE" |
yuripourre@17799 | 48 } |