wok view cclcfox/receipt @ rev 24586
updated gawk (5.0.1 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 09:01:30 2022 +0100 (2022-02-28) |
parents | d3eb5f4b53ea |
children | b0069c845544 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cclcfox"
4 VERSION="0.7.0"
5 CATEGORY="development"
6 SHORT_DESC="server gui for libccls"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ccl.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclcfox/$VERSION/$TARBALL"
13 DEPENDS="libcclc fox14"
14 BUILD_DEPENDS="libcclc-dev fox14-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/ccl/files/cclcfox/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/cclcfox/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }