wok-4.x annotate chmlib/receipt @ rev 4533

db: libdb provides libs (backout 4529:be5bba285abe)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 30 15:03:24 2009 +0100 (2009-11-30)
parents
children f7e96b8e3444
rev   line source
erjo@1306 1 # SliTaz package receipt.
erjo@1306 2
erjo@1306 3 PACKAGE="chmlib"
erjo@1306 4 VERSION="0.39"
erjo@1306 5 CATEGORY="misc"
erjo@1306 6 SHORT_DESC="library for dealing with CHM format"
erjo@1306 7 MAINTAINER="allan316@gmail.com"
erjo@1306 8 DEPENDS=""
erjo@1306 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1306 10 WEB_SITE="http://www.jedrea.com/chmlib"
erjo@1306 11 WGET_URL="http://www.jedrea.com/chmlib/$TARBALL"
erjo@1306 12 # Rules to configure and make the package.
erjo@1306 13 compile_rules()
erjo@1306 14 {
erjo@1306 15 cd $src
erjo@1306 16 ./configure --prefix=/usr --infodir=/usr/share/info \
erjo@1306 17 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@1306 18 make
erjo@1306 19 make DESTDIR=$PWD/_pkg install
erjo@1306 20 }
erjo@1306 21
erjo@1306 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1306 23 genpkg_rules()
erjo@1306 24 {
erjo@1306 25 mkdir -p $fs/usr/lib
erjo@1306 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
erjo@1306 27 }