wok-current view atk/receipt @ rev 871

linux: package all splited pkgs with genpkg_rules
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 06 12:20:08 2008 +0200 (2008-06-06)
parents ad5e33e4dad7
children 4751fd396e9b
line source
1 # SliTaz package receipt.
3 PACKAGE="atk"
4 VERSION="1.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Accessibility toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="cairo-dev glib-dev pango-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/atk/1.12/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --mandir=/usr/share/man \
18 --with-html-dir=/usr/share/doc $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share/locale
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
29 strip -s $fs/usr/lib/*.so*
30 }