wok annotate cclcfox/receipt @ rev 25530
Up perl-io (1.51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:07:28 2023 +0000 (18 months ago) |
parents | 370da83187ab |
children | 6b33f9da53d4 |
rev | line source |
---|---|
allan316@3739 | 1 # SliTaz package receipt. |
allan316@3739 | 2 |
allan316@3739 | 3 PACKAGE="cclcfox" |
allan316@3739 | 4 VERSION="0.7.0" |
allan316@3739 | 5 CATEGORY="development" |
allan316@3739 | 6 SHORT_DESC="server gui for libccls" |
allan316@3739 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
allan316@3739 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25469 | 10 WEB_SITE="https://ccl.sourceforge.net" |
pascal@17869 | 11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclcfox/$VERSION/$TARBALL" |
allan316@3739 | 12 |
pascal@15579 | 13 DEPENDS="libcclc fox14" |
pascal@15579 | 14 BUILD_DEPENDS="libcclc-dev fox14-dev" |
pascal@15579 | 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/cclcfox/ 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|.*/cclcfox/||;s|/.*||;q' |
pascal@24361 | 22 } |
pascal@24361 | 23 |
allan316@3739 | 24 # Rules to configure and make the package. |
allan316@3739 | 25 compile_rules() |
allan316@3739 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
allan316@3739 | 28 ./configure \ |
allan316@3739 | 29 --prefix=/usr \ |
allan316@3739 | 30 --infodir=/usr/share/info \ |
allan316@3739 | 31 --mandir=/usr/share/man \ |
allan316@3739 | 32 $CONFIGURE_ARGS && |
pascal@15579 | 33 make && make DESTDIR=$DESTDIR install |
allan316@3739 | 34 } |
allan316@3739 | 35 |
allan316@3739 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3739 | 37 genpkg_rules() |
allan316@3739 | 38 { |
allan316@3739 | 39 mkdir -p $fs/usr |
pascal@15579 | 40 cp -a $install/usr/bin $fs/usr |
allan316@3739 | 41 } |