wok annotate glib/receipt @ rev 11433

freetype1-dev: move *a files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents 268a913ee3ae
children 1af880ebf6dc
rev   line source
pascal@6023 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib"
slaxemulator@11167 4 VERSION="2.30.1"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="C routines."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@22 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@22 9 WEB_SITE="http://www.gtk.org/"
slaxemulator@10985 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@22 11
slaxemulator@10985 12 DEPENDS="libffi"
slaxemulator@10985 13 BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"
slaxemulator@10804 14
pankso@22 15 # Rules to configure and make the package.
pankso@22 16 compile_rules()
pankso@22 17 {
pankso@842 18 cd $src
pankso@10286 19 # Fails on cross compile: use native i468 --build toolchain.
slaxemulator@10245 20 ./configure --sysconfdir=/etc \
pankso@10286 21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
slaxemulator@10245 22 make && make install
pankso@22 23 }
pankso@22 24
pankso@22 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 26 genpkg_rules()
pankso@22 27 {
pankso@547 28 mkdir -p $fs/usr/lib
slaxemulator@10985 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@842 30 # split libgio
pankso@842 31 rm $fs/usr/lib/libgio*
pankso@22 32 }