wok-next annotate libcclc/receipt @ rev 16573
slitaz-base-files: get ride of /var/run symlink in pre_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:14:33 2014 +0200 (2014-05-02) |
parents | 557f91b0747c |
children | d3eb5f4b53ea |
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" |
allan316@3736 | 11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libcclc/0.7.0/libcclc-0.7.0.tar.bz2" |
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 |
allan316@3736 | 17 # Rules to configure and make the package. |
allan316@3736 | 18 compile_rules() |
allan316@3736 | 19 { |
allan316@3736 | 20 cd $src |
allan316@3736 | 21 ./configure \ |
allan316@3736 | 22 --prefix=/usr \ |
allan316@3736 | 23 --infodir=/usr/share/info \ |
allan316@3736 | 24 --mandir=/usr/share/man \ |
allan316@3736 | 25 $CONFIGURE_ARGS && |
pascal@15116 | 26 make && make DESTDIR=$DESTDIR install |
allan316@3736 | 27 } |
allan316@3736 | 28 |
allan316@3736 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3736 | 30 genpkg_rules() |
allan316@3736 | 31 { |
allan316@3736 | 32 mkdir -p $fs/usr/lib |
pascal@15116 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3736 | 34 } |
allan316@3736 | 35 |