wok view glib/receipt @ rev 56
Modified path for cmake doc --> /usr/share/doc/cmake
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 21 21:24:33 2007 +0100 (2007-12-21) |
parents | |
children | d103e8bbb768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gtk.org/"
10 WGET_URL="ftp://ftp.gtk.org/pub/glib/2.12/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --sysconfdir=/etc \
17 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
18 $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 --strip-unneeded $fs/usr/lib/*
30 }