wok annotate libconfig/receipt @ rev 21519
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 03 16:47:04 2019 +0200 (2019-05-03) |
parents | 9717b08dd673 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@13040 | 1 # SliTaz package receipt. |
pascal@13040 | 2 |
pascal@13040 | 3 PACKAGE="libconfig" |
Hans-G?nter@21156 | 4 VERSION="1.7.2" |
pascal@13040 | 5 CATEGORY="misc" |
Hans-G?nter@21156 | 6 SHORT_DESC="C/C++ Configuration File Library." |
pascal@13040 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21156 | 9 WEB_SITE="https://www.hyperrealm.com/libconfig/" |
Hans-G?nter@21156 | 10 |
pascal@13040 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21156 | 12 WGET_URL="https://github.com/hyperrealm/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@15472 | 13 |
pascal@13040 | 14 DEPENDS="" |
Hans-G?nter@21157 | 15 BUILD_DEPENDS="automake texinfo" |
pascal@13040 | 16 |
pascal@13040 | 17 # Rules to configure and make the package. |
pascal@13040 | 18 compile_rules() |
pascal@13040 | 19 { |
Hans-G?nter@21156 | 20 autoreconf |
Hans-G?nter@21156 | 21 ./configure \ |
Hans-G?nter@21156 | 22 --prefix=/usr \ |
Hans-G?nter@21156 | 23 --infodir=/usr/share/info \ |
Hans-G?nter@21156 | 24 --mandir=/usr/share/man \ |
Hans-G?nter@21156 | 25 --disable-cxx \ |
Hans-G?nter@21156 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@21156 | 27 make -j 1 && |
pascal@15475 | 28 make DESTDIR=$DESTDIR -j 1 install |
pascal@13040 | 29 } |
pascal@13040 | 30 |
pascal@13040 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13040 | 32 genpkg_rules() |
pascal@13040 | 33 { |
pascal@13040 | 34 mkdir -p $fs/usr/lib |
pascal@15472 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13040 | 36 } |