wok view libccls/receipt @ rev 18507
mozo: update compile rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Oct 17 13:39:12 2015 -0300 (2015-10-17) |
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 }