wok-next annotate libmspack/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 360e5b4f243b |
children |
rev | line source |
---|---|
al@19818 | 1 # SliTaz package receipt v2. |
nneul@18389 | 2 |
nneul@18389 | 3 PACKAGE="libmspack" |
al@20944 | 4 VERSION="0.7.1alpha" |
nneul@18389 | 5 CATEGORY="development" |
al@19818 | 6 SHORT_DESC="A library for Microsoft compression formats" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@19818 | 8 LICENSE="LGPL2" |
al@19818 | 9 WEB_SITE="https://www.cabextract.org.uk/libmspack/" |
al@19818 | 10 |
nneul@18389 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20944 | 12 WGET_URL="https://github.com/kyz/libmspack/archive/v$VERSION.tar.gz" |
al@19818 | 13 |
al@20944 | 14 BUILD_DEPENDS="automake libtool doxygen" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
nneul@18389 | 16 |
al@20944 | 17 compile_rules() { |
al@19818 | 18 cd libmspack |
al@20944 | 19 ./autogen.sh && |
al@19818 | 20 |
al@20944 | 21 ./configure \ |
al@20944 | 22 --disable-static \ |
al@20944 | 23 $CONFIGURE_ARGS && |
al@20945 | 24 # parallel build workaround |
al@20945 | 25 make libmspack.la libmscabd.la libmschmd.la && |
al@20944 | 26 make && |
al@20944 | 27 make -C doc && |
al@20944 | 28 make install || return 1 |
al@19818 | 29 |
al@20944 | 30 cook_pick_docs doc/search/ doc/*.html doc/*.png doc/*.css doc/*.js |
nneul@18389 | 31 } |
nneul@18389 | 32 |
al@20944 | 33 genpkg_rules() { |
al@19818 | 34 case $PACKAGE in |
al@19818 | 35 libmspack) copy @std;; |
al@19818 | 36 *-dev) copy @dev;; |
al@19818 | 37 esac |
nneul@18389 | 38 } |