wok view libccls/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 | b0069c845544 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libccls"
4 VERSION="0.7.0"
5 CATEGORY="development"
6 SHORT_DESC="server library for internet cafe programs"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://ccl.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/$PACKAGE/$VERSION/$TARBALL"
12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="openssl sqlite glib"
15 BUILD_DEPENDS="openssl-dev sqlite-dev glib-dev file"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/ccl/files/libccls/ 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|.*/libccls/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }