wok annotate libcclc/receipt @ rev 25261
qt5: modified configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:57:26 2022 +0100 (2022-07-15) |
parents | d3eb5f4b53ea |
children | b0069c845544 |
rev | line source |
---|---|
allan316@3736 | 1 # SliTaz package receipt. |
allan316@3736 | 2 |
allan316@3736 | 3 PACKAGE="libcclc" |
allan316@3736 | 4 VERSION="0.7.0" |
allan316@3736 | 5 CATEGORY="development" |
allan316@3736 | 6 SHORT_DESC="client library for internet cafe programs" |
allan316@3736 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15472 | 8 LICENSE="BSD" |
allan316@3736 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3736 | 10 WEB_SITE="http://ccl.sourceforge.net" |
pascal@17869 | 11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libcclc/$VERSION/$TARBALL" |
allan316@3736 | 12 #WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@15116 | 13 |
pascal@15116 | 14 DEPENDS="openssl sqlite" |
pascal@15116 | 15 BUILD_DEPENDS="openssl-dev sqlite-dev file" |
pascal@15116 | 16 |
pascal@24411 | 17 # What is the latest version available today? |
pascal@24411 | 18 current_version() |
pascal@24411 | 19 { |
pascal@24411 | 20 wget -O - https://sourceforge.net/projects/ccl/files/libcclc/ 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 22 sed '/scope="row/!d;s|.*/libcclc/||;s|/.*||;q' |
pascal@24411 | 23 } |
pascal@24411 | 24 |
allan316@3736 | 25 # Rules to configure and make the package. |
allan316@3736 | 26 compile_rules() |
allan316@3736 | 27 { |
allan316@3736 | 28 ./configure \ |
allan316@3736 | 29 --prefix=/usr \ |
allan316@3736 | 30 --infodir=/usr/share/info \ |
allan316@3736 | 31 --mandir=/usr/share/man \ |
allan316@3736 | 32 $CONFIGURE_ARGS && |
pascal@15116 | 33 make && make DESTDIR=$DESTDIR install |
allan316@3736 | 34 } |
allan316@3736 | 35 |
allan316@3736 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3736 | 37 genpkg_rules() |
allan316@3736 | 38 { |
allan316@3736 | 39 mkdir -p $fs/usr/lib |
pascal@15116 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3736 | 41 } |