wok-next view libmspack/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 67013650f576 |
children | f66f18161f93 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmspack"
4 VERSION="1.5+16" # latest released v. 1.5 (2015-01-24) plus 16 commits ahead (2016-04-16)
5 COMMIT="ee850e8"
6 CATEGORY="development"
7 SHORT_DESC="A library for Microsoft compression formats"
8 MAINTAINER="nneul@neulinger.org"
9 LICENSE="LGPL2"
10 WEB_SITE="https://www.cabextract.org.uk/libmspack/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 #WGET_URL="https://www.cabextract.org.uk/libmspack/$TARBALL"
14 WGET_URL="https://github.com/kyz/libmspack/archive/$COMMIT.tar.gz"
16 BUILD_DEPENDS="automake libtool doxygen" # for github non-release sources
17 SPLIT="libmspack-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # github sources need preparation (see libmspack/rebuild.sh)
23 cd libmspack
24 mkdir m4
25 autoreconf -i -W all &&
27 ./configure $CONFIGURE_ARGS &&
28 make && make -C doc && make install &&
30 docdir=$install/usr/share/doc/libmspack-$VERSION &&
31 mkdir -p $docdir &&
32 cp -r doc/search/ doc/*.html doc/*.png doc/*.css doc/*.js $docdir
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 libmspack) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }