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