wok-6.x annotate mate-notification-daemon/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 13806712bef0 |
children |
rev | line source |
---|---|
al@18970 | 1 # SliTaz package receipt. |
al@18970 | 2 |
al@18970 | 3 PACKAGE="mate-notification-daemon" |
al@18970 | 4 VERSION="1.13.0" |
al@18970 | 5 CATEGORY="x-window" |
al@18970 | 6 SHORT_DESC="Fork of gnome-notification-daemon" |
al@18970 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18970 | 8 LICENSE="GPL2" |
al@18970 | 9 WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/" |
al@18970 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18970 | 11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" |
al@18970 | 12 PROVIDE="notification-daemon" |
al@18970 | 13 TAGS="MATE" |
al@18970 | 14 |
al@18970 | 15 DEPENDS="gtk+ libcanberra libltdl libnotify libwnck" |
al@18970 | 16 BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \ |
al@18970 | 17 libcanberra-dev libwnck-dev libnotify-dev intltool" |
al@18970 | 18 GENERIC_MENUS="no" |
al@18970 | 19 |
pascal@24071 | 20 current_version() |
pascal@24071 | 21 { |
pascal@24071 | 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24071 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24071 | 24 } |
pascal@24071 | 25 |
al@18970 | 26 # Rules to configure and make the package. |
al@18970 | 27 compile_rules() |
al@18970 | 28 { |
al@18970 | 29 sed -i '/^MATE_/d' configure.ac # build standalone without MATE |
al@18970 | 30 |
al@18970 | 31 mkdir macros; autoreconf --install --force |
al@18970 | 32 intltoolize; autoreconf |
al@18970 | 33 ./configure \ |
al@18970 | 34 --prefix=/usr \ |
al@18970 | 35 --sysconfdir=/etc \ |
al@18970 | 36 $CONFIGURE_ARGS && |
al@18970 | 37 make && make install |
al@18970 | 38 } |
al@18970 | 39 |
al@18970 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18970 | 41 genpkg_rules() |
al@18970 | 42 { |
al@18970 | 43 cp -a $install/* $fs |
al@18970 | 44 find $fs/usr/lib -name '*.*a' -delete |
al@18970 | 45 rm -r $fs/usr/share/locale |
al@18970 | 46 sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop |
pascal@19257 | 47 #find $fs/usr/share/man -type f -exec gzip \{\} \; |
pascal@19257 | 48 rm -rf $fs/usr/share/man |
al@18970 | 49 } |