wok annotate log4c/receipt @ rev 14996
Add LGPL2.1 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 11:00:21 2013 +0000 (2013-08-10) |
parents | 9fca00a1918e |
children | 8d73417cf2d4 |
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 |
erjo@13410 | 27 cp -a $install/usr/lib/*.so* $fs/lib |
erjo@13410 | 28 cp -a $install/etc/log4crc.sample $fs/etc/log4crc |
erjo@13410 | 29 } |