wok view boost/receipt @ rev 1236

Add psycopg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 11:01:30 2008 +0000 (2008-08-11)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="boost"
4 VERSION="1_35_0"
5 CATEGORY="developpement"
6 SHORT_DESC="Peer-reviewed portable C++ source libraries."
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
10 WEB_SITE="http://boost.org/"
11 WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/${PACKAGE}_${VERSION}
18 cd $src
19 ./configure --prefix=/usr
20 make
21 make PREFIX=$src/_pkg/usr \
22 EPREFIX=$src/_pkg/usr \
23 LIBDIR=$src/_pkg/usr/lib \
24 INCLUDEDIR=$src/_pkg/usr/include install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 _pkg=$WOK/$PACKAGE/${PACKAGE}_${VERSION}/_pkg
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }
35 # Rules to clean extras dirs or files
36 clean_wok()
37 {
38 rm -rf $WOK/$PACKAGE/${PACKAGE}_${VERSION}
39 }