wok-current annotate mate-screensaver/receipt @ rev 24765
afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 17:45:47 2022 +0000 (2022-03-18) |
parents | e863f2041090 |
children | 73f36875e5a7 |
rev | line source |
---|---|
yuripourre@17799 | 1 # SliTaz package receipt. |
yuripourre@17799 | 2 |
yuripourre@17799 | 3 PACKAGE="mate-screensaver" |
yuripourre@17804 | 4 VERSION="1.9.1" |
yuripourre@17799 | 5 CATEGORY="utilities" |
yuripourre@17799 | 6 LICENSE="GPL3" |
yuripourre@17799 | 7 SHORT_DESC="Screensaver for MATE desktop." |
yuripourre@17799 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17799 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@17799 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@17799 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@17799 | 12 TAGS="MATE" |
yuripourre@17799 | 13 DEPENDS="" |
yuripourre@17799 | 14 BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \ |
yuripourre@17799 | 15 mate-common-dev mate-desktop-dev mate-menus-dev dbus-glib-dev \ |
yuripourre@17799 | 16 dconf-dev gtk+-dev xorg-libXScrnSaver-dev util-linux-uuid-dev" |
yuripourre@17799 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
yuripourre@17799 | 24 # Rules to configure and make the package. |
yuripourre@17799 | 25 compile_rules() |
yuripourre@17799 | 26 { |
yuripourre@17799 | 27 ./autogen.sh \ |
yuripourre@17799 | 28 --prefix=/usr \ |
yuripourre@17799 | 29 $CONFIGURE_ARGS && |
yuripourre@17799 | 30 make && |
yuripourre@17799 | 31 make DESTDIR=$DESTDIR install |
yuripourre@17799 | 32 } |
yuripourre@17799 | 33 |
yuripourre@17799 | 34 genpkg_rules() |
yuripourre@17799 | 35 { |
yuripourre@17799 | 36 mkdir -p $fs/usr |
yuripourre@17799 | 37 cp -a $install/usr/bin $fs/usr |
yuripourre@17799 | 38 cp -a $install/usr/etc $fs/usr |
yuripourre@17799 | 39 cp -a $install/usr/libexec $fs/usr |
yuripourre@17799 | 40 cp -a $install/usr/share $fs/usr |
yuripourre@17799 | 41 } |