wok annotate chmlib/receipt @ rev 13629
Up: slitaz-tools (5.1) - Bunch of new stuff and fixes from the contributors community
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Nov 14 21:48:16 2012 +0100 (2012-11-14) |
parents | f7e96b8e3444 |
children | eb8067417980 |
rev | line source |
---|---|
erjo@1306 | 1 # SliTaz package receipt. |
erjo@1306 | 2 |
erjo@1306 | 3 PACKAGE="chmlib" |
slaxemulator@6219 | 4 VERSION="0.40" |
erjo@1306 | 5 CATEGORY="misc" |
jozee@4933 | 6 SHORT_DESC="library for dealing with CHM format or windows help files" |
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" |
jozee@4933 | 12 TAGS="CHM windows" |
jozee@4933 | 13 |
erjo@1306 | 14 # Rules to configure and make the package. |
erjo@1306 | 15 compile_rules() |
erjo@1306 | 16 { |
erjo@1306 | 17 cd $src |
erjo@1306 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1306 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@1306 | 20 make |
erjo@1306 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1306 | 22 } |
erjo@1306 | 23 |
erjo@1306 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1306 | 25 genpkg_rules() |
erjo@1306 | 26 { |
erjo@1306 | 27 mkdir -p $fs/usr/lib |
erjo@1306 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
erjo@1306 | 29 } |