wok-next view libmateweather/receipt @ rev 17859
Add firmware-rtlnic
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Mar 25 02:43:47 2015 -0400 (2015-03-25) |
parents | 3813a852fc26 |
children | e863f2041090 |
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"
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 }