wok-6.x annotate log4c/receipt @ rev 22850

bluez: add v4 deprecated tools (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 16 19:19:37 2020 +0100 (2020-02-16)
parents 8d73417cf2d4
children 65d7d867e0c1
rev   line source
erjo@13410 1 # SliTaz package receipt.
erjo@13410 2
erjo@13410 3 PACKAGE="log4c"
Hans-G?nter@21374 4 VERSION="1.2.4"
erjo@13410 5 CATEGORY="system-tools"
Hans-G?nter@21374 6 SHORT_DESC="Logging for C Library."
erjo@13410 7 MAINTAINER="erjo@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@21374 9 WEB_SITE="https://log4c.sourceforge.io"
Hans-G?nter@21374 10
erjo@13410 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21374 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@13410 13
erjo@13410 14 DEPENDS=""
erjo@13410 15 BUILD_DEPENDS=""
erjo@13410 16
erjo@13410 17 # Rules to configure and make the package.
erjo@13410 18 compile_rules()
erjo@13410 19 {
Hans-G?nter@21374 20 ./configure \
Hans-G?nter@21374 21 --sysconfdir=/etc \
Hans-G?nter@21374 22 $CONFIGURE_ARGS &&
Hans-G?nter@21374 23 make -j 1 &&
Hans-G?nter@21374 24 make install
erjo@13410 25 }
erjo@13410 26
erjo@13410 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@13410 28 genpkg_rules()
erjo@13410 29 {
erjo@13410 30 mkdir -p $fs/usr/lib $fs/etc
Hans-G?nter@21374 31
Hans-G?nter@21374 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21374 33 cp -a $install/etc/log4crc.sample $fs/etc/log4crc
erjo@13410 34 }