wok view log4c/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 65d7d867e0c1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="log4c"
4 VERSION="1.2.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Logging for C Library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://log4c.sourceforge.io"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/log4c/files/log4c/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/log4c/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/etc
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/etc/log4crc.sample $fs/etc/log4crc
42 }