wok-6.x annotate libccls/receipt @ rev 15088
py3k: add bdeps...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:00:08 2013 +0000 (2013-08-13) |
parents | 1f7e9b51c9e3 |
children | 6c3718ca17b6 |
rev | line source |
---|---|
allan316@3734 | 1 # SliTaz package receipt. |
allan316@3734 | 2 |
allan316@3734 | 3 PACKAGE="libccls" |
allan316@3734 | 4 VERSION="0.7.0" |
allan316@3734 | 5 CATEGORY="development" |
allan316@3734 | 6 SHORT_DESC="server library for internet cafe programs" |
allan316@3734 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3734 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3734 | 9 WEB_SITE="http://ccl.sourceforge.net" |
pascal@15064 | 10 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/$PACKAGE/$VERSION/$TARBALL" |
pascal@15064 | 11 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15064 | 12 |
pascal@15064 | 13 DEPENDS="openssl sqlite glib" |
pascal@15064 | 14 BUILD_DEPENDS="openssl-dev sqlite-dev glib-dev file" |
pascal@15064 | 15 |
allan316@3734 | 16 # Rules to configure and make the package. |
allan316@3734 | 17 compile_rules() |
allan316@3734 | 18 { |
allan316@3734 | 19 cd $src |
allan316@3734 | 20 ./configure \ |
allan316@3734 | 21 --prefix=/usr \ |
allan316@3734 | 22 --infodir=/usr/share/info \ |
allan316@3734 | 23 --mandir=/usr/share/man \ |
allan316@3734 | 24 $CONFIGURE_ARGS && |
pascal@15064 | 25 make && make DESTDIR=$DESTDIR install |
allan316@3734 | 26 } |
allan316@3734 | 27 |
allan316@3734 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3734 | 29 genpkg_rules() |
allan316@3734 | 30 { |
allan316@3734 | 31 mkdir -p $fs/usr/lib |
pascal@15064 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3734 | 33 } |
allan316@3734 | 34 |