wok view libccls/receipt @ rev 24055
Add current_version for most github hosted softwares
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) | 
| parents | 5fcd45fc5575 | 
| children | 65d7d867e0c1 | 
 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="http://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 # Rules to configure and make the package.
    18 compile_rules()
    19 {
    20 	cd $src
    21 	./configure \
    22 		--prefix=/usr \
    23 		--infodir=/usr/share/info \
    24 		--mandir=/usr/share/man \
    25 		$CONFIGURE_ARGS &&
    26 	make && make DESTDIR=$DESTDIR install
    27 }
    29 # Rules to gen a SliTaz package suitable for Tazpkg.
    30 genpkg_rules()
    31 {
    32 	mkdir -p $fs/usr/lib
    33 	cp -a $install/usr/lib/*.so* $fs/usr/lib
    34 }