wok-next annotate log4c/receipt @ rev 14443
Up midori (0.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 26 15:15:40 2013 +0200 (2013-04-26) |
parents | |
children | 76b72f1ad63c |
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" |
erjo@13410 | 8 WEB_SITE="http://log4c.sourceforge.net" |
erjo@13410 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@13410 | 10 WGET_URL="http://prdownloads.sourceforge.net/log4c/$TARBALL" |
erjo@13410 | 11 |
erjo@13410 | 12 DEPENDS="" |
erjo@13410 | 13 BUILD_DEPENDS="" |
erjo@13410 | 14 |
erjo@13410 | 15 # Rules to configure and make the package. |
erjo@13410 | 16 compile_rules() |
erjo@13410 | 17 { |
erjo@13410 | 18 ./configure $CONFIGURE_ARGS \ |
erjo@13410 | 19 --sysconfdir=/etc && make && make install |
erjo@13410 | 20 } |
erjo@13410 | 21 |
erjo@13410 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13410 | 23 genpkg_rules() |
erjo@13410 | 24 { |
erjo@13410 | 25 mkdir -p $fs/usr/lib $fs/etc |
erjo@13410 | 26 cp -a $install/usr/lib/*.so* $fs/lib |
erjo@13410 | 27 cp -a $install/etc/log4crc.sample $fs/etc/log4crc |
erjo@13410 | 28 } |