wok annotate mate-notification-daemon/receipt @ rev 19098
gettext: fix arm build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 03 22:10:36 2016 +0200 (2016-05-03) |
parents | |
children | 13806712bef0 |
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 |
al@18970 | 20 # Rules to configure and make the package. |
al@18970 | 21 compile_rules() |
al@18970 | 22 { |
al@18970 | 23 sed -i '/^MATE_/d' configure.ac # build standalone without MATE |
al@18970 | 24 |
al@18970 | 25 mkdir macros; autoreconf --install --force |
al@18970 | 26 intltoolize; autoreconf |
al@18970 | 27 ./configure \ |
al@18970 | 28 --prefix=/usr \ |
al@18970 | 29 --sysconfdir=/etc \ |
al@18970 | 30 $CONFIGURE_ARGS && |
al@18970 | 31 make && make install |
al@18970 | 32 } |
al@18970 | 33 |
al@18970 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18970 | 35 genpkg_rules() |
al@18970 | 36 { |
al@18970 | 37 cp -a $install/* $fs |
al@18970 | 38 find $fs/usr/lib -name '*.*a' -delete |
al@18970 | 39 rm -r $fs/usr/share/locale |
al@18970 | 40 sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop |
al@18970 | 41 find $fs/usr/share/man -type f -exec gzip \{\} \; |
al@18970 | 42 } |