wok-4.x view commoncpp2/receipt @ rev 5340
Updated transmission to 1.92. Added expat-dev to build depends of transmission. Also transmission-cli, transmission-daemon, and transmission-web are all updated to 1.92.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 27 10:14:26 2010 +0000 (2010-04-27) |
parents | 0f710d0f94f4 |
children | 08b8d9c3741d |
line source
1 # SliTaz package receipt.
3 PACKAGE="commoncpp2"
4 VERSION="1.7.3"
5 CATEGORY="development"
6 SHORT_DESC="A very portable and highly optimized class framework for writing C++ applications."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base gcc-lib-base zlib"
9 BUILD_DEPENDS="slitaz-toolchain"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/commoncpp/"
12 WGET_URL="http://www.gnutelephony.org/dist/tarballs/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Apply patch from http://bugs.gentoo.org/show_bug.cgi?id=279505
18 local commoncpp2_diff
19 commoncpp2_diff=$PWD/stuff/1.7.3-gcc4.4.diff
21 cd $src
22 # Only apply the patch once
23 if [ ! -e $src/1.7.3-gcc4.4.diff ] ; then
24 patch -p1 < $commoncpp2_diff
25 cp $commoncpp2_diff $src/1.7.3-gcc4.4.diff
26 fi
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 }