wok-next annotate chmlib/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | eb8067417980 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@20331 | 1 # SliTaz package receipt v2. |
erjo@1306 | 2 |
erjo@1306 | 3 PACKAGE="chmlib" |
slaxemulator@6219 | 4 VERSION="0.40" |
erjo@1306 | 5 CATEGORY="misc" |
al@20331 | 6 SHORT_DESC="Library for reading Microsoft ITSS/CHM format files" |
erjo@1306 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15579 | 8 LICENSE="LGPL2.1" |
al@20331 | 9 WEB_SITE="http://www.jedrea.com/chmlib/" |
al@20331 | 10 |
al@20331 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1306 | 12 WGET_URL="http://www.jedrea.com/chmlib/$TARBALL" |
jozee@4933 | 13 |
al@20331 | 14 SPLIT="chmlib-dev" |
pascal@15579 | 15 |
al@20331 | 16 compile_rules() { |
al@20331 | 17 ./configure $CONFIGURE_ARGS && make && make install || return 1 |
al@20331 | 18 |
al@20331 | 19 cook_pick_docs README |
erjo@1306 | 20 } |
erjo@1306 | 21 |
al@20331 | 22 genpkg_rules() { |
al@20331 | 23 case $PACKAGE in |
al@20331 | 24 chmlib) |
al@20331 | 25 copy @std |
al@20331 | 26 TAGS="CHM windows" |
al@20331 | 27 ;; |
al@20331 | 28 *-dev) |
al@20331 | 29 copy @dev |
al@20331 | 30 ;; |
al@20331 | 31 esac |
erjo@1306 | 32 } |