wok-stable view rlog/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | 8be66f03fbd2 |
children | e5ae411e1d8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="rlog"
4 VERSION="1.4"
5 CATEGORY="misc"
6 SHORT_DESC="C++ logging library."
7 MAINTAINER="b1+slitaz@nagel.org"
8 DEPENDS="gcc-lib-base"
9 BUILD_DEPENDS=""
10 TARBALL="rlog-$VERSION.tar.gz"
11 WEB_SITE="http://www.arg0.net/rlog"
12 WGET_URL="http://rlog.googlecode.com/files/$TARBALL"
13 TAGS="C++ log"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$src/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip -s $fs/usr/lib/*
30 }