wok-next annotate libcclc/receipt @ rev 9259
Use SOURCE to define tarball properly (thanks Godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 03:39:52 2011 +0100 (2011-03-15) |
parents | |
children | 557f91b0747c |
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" |
allan316@3736 | 8 DEPENDS="openssl sqlite" |
allan316@3736 | 9 BUILD_DEPENDS="openssl-dev sqlite-dev" |
allan316@3736 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3736 | 11 WEB_SITE="http://ccl.sourceforge.net" |
allan316@3736 | 12 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libcclc/0.7.0/libcclc-0.7.0.tar.bz2" |
allan316@3736 | 13 #WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
allan316@3736 | 14 # Rules to configure and make the package. |
allan316@3736 | 15 compile_rules() |
allan316@3736 | 16 { |
allan316@3736 | 17 cd $src |
allan316@3736 | 18 ./configure \ |
allan316@3736 | 19 --prefix=/usr \ |
allan316@3736 | 20 --infodir=/usr/share/info \ |
allan316@3736 | 21 --mandir=/usr/share/man \ |
allan316@3736 | 22 $CONFIGURE_ARGS && |
allan316@3736 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@3736 | 24 } |
allan316@3736 | 25 |
allan316@3736 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3736 | 27 genpkg_rules() |
allan316@3736 | 28 { |
allan316@3736 | 29 mkdir -p $fs/usr/lib |
allan316@3736 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3736 | 31 } |
allan316@3736 | 32 |