wok annotate mate-control-center/receipt @ rev 25548

aaphoto: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 23 17:05:06 2023 +0000 (20 months ago)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
yuripourre@17808 1 # SliTaz package receipt.
yuripourre@17808 2
yuripourre@17808 3 PACKAGE="mate-control-center"
yuripourre@17808 4 VERSION="1.9.0"
yuripourre@17808 5 CATEGORY="utilities"
yuripourre@17808 6 LICENSE="GPL3"
yuripourre@17808 7 SHORT_DESC="The control center for MATE Desktop."
yuripourre@17808 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@17808 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25540 10 WEB_SITE="https://www.mate-desktop.org/"
yuripourre@17808 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@18281 13 DEPENDS="gtk+ caja desktop-file-utils libxklavier libgtop librsvg xorg-libICE \
yuripourre@18281 14 xorg-libSM xorg-libXt startup-notification gsettings-desktop-schemas \
yuripourre@18281 15 mate-settings-daemon"
yuripourre@17808 16 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool libunique-dev \
yuripourre@17808 17 dconf-dev mate-common-dev mate-desktop-dev mate-menus-dev mate-settings-daemon-dev \
yuripourre@17808 18 libxklavier-dev libmatekbd-dev marco-dev libgtop-dev librsvg-dev dbus-glib-dev \
yuripourre@17808 19 yelp-tools xorg-libXss-dev xorg-libXt-dev startup-notification-dev \
pascal@19783 20 util-linux-uuid-dev libcanberra-dev desktop-file-utils xcb-util-dev libcroco-dev"
yuripourre@17808 21
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24055 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 26 }
pascal@24055 27
yuripourre@17808 28 # Rules to configure and make the package.
yuripourre@17808 29 compile_rules()
yuripourre@17808 30 {
al@18734 31 ./autogen.sh \
yuripourre@17808 32 --prefix=/usr \
yuripourre@17808 33 --sysconfdir=/etc \
yuripourre@17808 34 --localstatedir=/var \
yuripourre@17808 35 --disable-static \
yuripourre@17808 36 $CONFIGURE_ARGS &&
yuripourre@17808 37 make &&
yuripourre@17808 38 make DESTDIR=$DESTDIR install
yuripourre@17808 39 }
yuripourre@17808 40
yuripourre@17808 41 genpkg_rules()
yuripourre@17808 42 {
al@19040 43 mkdir -p $fs/usr/lib
yuripourre@17808 44 cp -a $install/etc $fs
yuripourre@17808 45 cp -a $install/usr/bin $fs/usr
yuripourre@17808 46 cp -a $install/usr/sbin $fs/usr
yuripourre@17808 47 cp -a $install/usr/share $fs/usr
yuripourre@17808 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@17808 49 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings
al@19040 50
al@19040 51 # don't overwrite system MIME database, get only packages/*.xml files
al@19040 52 rm -rf $fs/usr/share/mime/*
al@19040 53 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
yuripourre@17808 54 }