wok annotate libccls/receipt @ rev 10480
scim-tables: do not cook in genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 12:15:40 2011 +0200 (2011-05-25) |
parents | 3d7d2a9491f1 |
children | 1f7e9b51c9e3 |
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" |
pascal@5003 | 8 DEPENDS="openssl sqlite glib" |
allan316@3734 | 9 BUILD_DEPENDS="openssl-dev sqlite-dev" |
allan316@3734 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3734 | 11 WEB_SITE="http://ccl.sourceforge.net" |
allan316@3734 | 12 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libccls/0.7.0/libccls-0.7.0.tar.bz2" |
allan316@3734 | 13 #WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
allan316@3734 | 14 # Rules to configure and make the package. |
allan316@3734 | 15 compile_rules() |
allan316@3734 | 16 { |
allan316@3734 | 17 cd $src |
allan316@3734 | 18 ./configure \ |
allan316@3734 | 19 --prefix=/usr \ |
allan316@3734 | 20 --infodir=/usr/share/info \ |
allan316@3734 | 21 --mandir=/usr/share/man \ |
allan316@3734 | 22 $CONFIGURE_ARGS && |
allan316@3734 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@3734 | 24 } |
allan316@3734 | 25 |
allan316@3734 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3734 | 27 genpkg_rules() |
allan316@3734 | 28 { |
allan316@3734 | 29 mkdir -p $fs/usr/lib |
allan316@3734 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3734 | 31 } |
allan316@3734 | 32 |