wok annotate log4c/receipt @ rev 19785

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