wok-next annotate libmateweather/receipt @ rev 17777
awesome: remove Lua GObject introspection detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 13:37:49 2015 +0100 (2015-03-14) |
parents | 3813a852fc26 |
children | e863f2041090 |
rev | line source |
---|---|
yuripourre@17701 | 1 # SliTaz package receipt. |
yuripourre@17701 | 2 |
yuripourre@17701 | 3 PACKAGE="libmateweather" |
yuripourre@17701 | 4 VERSION="1.9.1" |
yuripourre@17701 | 5 CATEGORY="utilities" |
yuripourre@17701 | 6 LICENSE="GPL3" |
yuripourre@17701 | 7 SHORT_DESC="Provides access to weather information from the Internet." |
yuripourre@17701 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17701 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@17701 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@17701 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@17701 | 12 |
yuripourre@17701 | 13 DEPENDS="gtk+ libsoup" |
yuripourre@17701 | 14 BUILD_DEPENDS="wget dconf-dev gtk+-dev autoconf automake libtool itstool \ |
yuripourre@17701 | 15 gtk-doc sqlite-dev mate-common-dev mate-desktop-dev libsoup-dev" |
yuripourre@17701 | 16 |
yuripourre@17701 | 17 # Rules to configure and make the package. |
yuripourre@17701 | 18 compile_rules() |
yuripourre@17701 | 19 { |
yuripourre@17701 | 20 ./autogen.sh \ |
yuripourre@17701 | 21 --prefix=/usr \ |
yuripourre@17701 | 22 --sysconfdir=/etc \ |
yuripourre@17701 | 23 --localstatedir=/var \ |
yuripourre@17701 | 24 --disable-static \ |
yuripourre@17701 | 25 --disable-python \ |
yuripourre@17701 | 26 $CONFIGURE_ARGS && |
yuripourre@17701 | 27 make && |
yuripourre@17701 | 28 make DESTDIR=$DESTDIR install |
yuripourre@17701 | 29 } |
yuripourre@17701 | 30 |
yuripourre@17701 | 31 genpkg_rules() |
yuripourre@17701 | 32 { |
yuripourre@17725 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
yuripourre@17725 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@17709 | 35 cp -a $install/usr/share $fs/usr |
yuripourre@17701 | 36 } |
yuripourre@17725 | 37 |
yuripourre@17725 | 38 # Post install/remove commands for Tazpkg. |
yuripourre@17725 | 39 post_install() |
yuripourre@17725 | 40 { |
yuripourre@17725 | 41 echo "Processing post-install commands..." |
yuripourre@17725 | 42 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@17725 | 43 } |
yuripourre@17725 | 44 |
yuripourre@17725 | 45 post_remove() |
yuripourre@17725 | 46 { |
yuripourre@17725 | 47 echo "Processing post-remove commands..." |
yuripourre@17725 | 48 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@17725 | 49 } |