wok-current annotate cclfox/receipt @ rev 25035

Up libqcow (20210419)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 18:11:13 2022 +0000 (2022-05-20)
parents d3eb5f4b53ea
children b0069c845544
rev   line source
allan316@3738 1 # SliTaz package receipt.
allan316@3738 2
allan316@3738 3 PACKAGE="cclfox"
allan316@3738 4 VERSION="0.7.0"
allan316@3738 5 CATEGORY="development"
allan316@3738 6 SHORT_DESC="server gui for libccls"
allan316@3738 7 MAINTAINER="allan316@gmail.com"
pascal@15002 8 LICENSE="GPL2"
allan316@3738 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3738 10 WEB_SITE="http://ccl.sourceforge.net"
pascal@17869 11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclfox/$VERSION/$TARBALL"
allan316@3738 12
pascal@15002 13 DEPENDS="libccls fox14 glib"
pascal@15002 14 BUILD_DEPENDS="libccls-dev fox14-dev"
pascal@15002 15
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/ccl/files/cclfox/ 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*/cclfox/||;s|/.*||;q'
pascal@24361 22 }
pascal@24361 23
allan316@3738 24 # Rules to configure and make the package.
allan316@3738 25 compile_rules()
allan316@3738 26 {
allan316@3738 27 ./configure \
allan316@3738 28 --prefix=/usr \
allan316@3738 29 --infodir=/usr/share/info \
allan316@3738 30 --mandir=/usr/share/man \
allan316@3738 31 $CONFIGURE_ARGS &&
pascal@15002 32 make && make DESTDIR=$DESTDIR install
allan316@3738 33 }
allan316@3738 34
allan316@3738 35 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3738 36 genpkg_rules()
allan316@3738 37 {
allan316@3738 38 mkdir -p $fs/usr
pascal@15002 39 cp -a $install/usr/bin $fs/usr
allan316@3738 40 }