wok-current view libsoup/receipt @ rev 12086

osmo: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:48:21 2012 -0500 (2012-03-09)
parents b747299e1955
children 9f9670348aac
line source
1 # SliTaz package receipt.
3 PACKAGE="libsoup"
4 VERSION="2.34.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Soup Library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://live.gnome.org/LibSoup/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="glibc-base libxml2 zlib glib glib-networking libgio gtk+ libgnutls libtasn1 libgcrypt"
13 BUILD_DEPENDS="gtk+-dev glib-networking-dev libgio libgio-dev libxml2-dev libgcrypt-dev libtasn1-dev gobject-introspection-dev gnutls-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --with-html-dir=/usr/share/doc \
21 --disable-gtk-doc \
22 --without-gnome \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
34 }