wok-current diff log4c/receipt @ rev 14754

linux: add default initrd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 20:18:01 2013 +0200 (2013-06-16)
parents
children 76b72f1ad63c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/log4c/receipt	Sun Jun 16 20:18:01 2013 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="log4c"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Logging for C Library"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +WEB_SITE="http://log4c.sourceforge.net"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="http://prdownloads.sourceforge.net/log4c/$TARBALL"
    1.14 +
    1.15 +DEPENDS=""
    1.16 +BUILD_DEPENDS=""
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	./configure $CONFIGURE_ARGS \
    1.22 +		--sysconfdir=/etc && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/lib $fs/etc
    1.29 +	cp -a $install/usr/lib/*.so* $fs/lib
    1.30 +	cp -a $install/etc/log4crc.sample $fs/etc/log4crc
    1.31 +}