wok-current view log4c/receipt @ rev 13661

ccid: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 21 21:52:14 2012 +0100 (2012-11-21)
parents
children 76b72f1ad63c
line source
1 # SliTaz package receipt.
3 PACKAGE="log4c"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Logging for C Library"
7 MAINTAINER="erjo@slitaz.org"
8 WEB_SITE="http://log4c.sourceforge.net"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://prdownloads.sourceforge.net/log4c/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure $CONFIGURE_ARGS \
19 --sysconfdir=/etc && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/etc
26 cp -a $install/usr/lib/*.so* $fs/lib
27 cp -a $install/etc/log4crc.sample $fs/etc/log4crc
28 }