wok annotate atk/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents 5ac815e88f51
children 41a6ed88859f
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="atk"
slaxemulator@6627 4 VERSION="1.32.0"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="Accessibility toolkit."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pascal@2491 8 DEPENDS="glib"
slaxemulator@6672 9 BUILD_DEPENDS="libgio-dev glib-dev gobject-introspection-dev pkg-config"
pankso@22 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@22 11 WEB_SITE="http://www.gnome.org/"
slaxemulator@6637 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/atk/${VERSION%.*}/$TARBALL"
jozee@4931 13 TAGS="accessibility"
pankso@22 14
pankso@22 15 # Rules to configure and make the package.
pankso@22 16 compile_rules()
pankso@22 17 {
pankso@2002 18 cd $src
pankso@2002 19 ./configure \
pankso@2002 20 --prefix=/usr \
pankso@2002 21 --mandir=/usr/share/man \
pankso@2002 22 --with-html-dir=/usr/share/doc \
pascal@2491 23 $CONFIGURE_ARGS &&
pascal@2491 24 make &&
pankso@2002 25 make DESTDIR=$PWD/_pkg install
pankso@22 26 }
pankso@22 27
pankso@22 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 29 genpkg_rules()
pankso@22 30 {
pankso@5387 31 mkdir -p $fs/usr/lib
pankso@2002 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@22 33 }