wok annotate atk/receipt @ rev 2506
newt: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 12:31:37 2009 +0000 (2009-03-16) |
parents | 4751fd396e9b |
children | 258772258cd2 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="atk" |
pankso@2002 | 4 VERSION="1.24.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" |
pankso@115 | 9 BUILD_DEPENDS="cairo-dev glib-dev pango-dev" |
pankso@22 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 11 WEB_SITE="http://www.gnome.org/" |
pankso@2002 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/atk/1.24/$TARBALL" |
pankso@22 | 13 |
pankso@22 | 14 # Rules to configure and make the package. |
pankso@22 | 15 compile_rules() |
pankso@22 | 16 { |
pankso@2002 | 17 cd $src |
pankso@2002 | 18 ./configure \ |
pankso@2002 | 19 --prefix=/usr \ |
pankso@2002 | 20 --mandir=/usr/share/man \ |
pankso@2002 | 21 --with-html-dir=/usr/share/doc \ |
pascal@2491 | 22 $CONFIGURE_ARGS && |
pascal@2491 | 23 make && |
pankso@2002 | 24 make DESTDIR=$PWD/_pkg install |
pankso@22 | 25 } |
pankso@22 | 26 |
pankso@22 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 28 genpkg_rules() |
pankso@22 | 29 { |
pankso@2002 | 30 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@2002 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 32 } |