wok-6.x annotate dotconf/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 8609ecf381cf |
children | d443265acbc1 |
rev | line source |
---|---|
paul@4889 | 1 # SliTaz package receipt. |
paul@4889 | 2 |
paul@4889 | 3 PACKAGE="dotconf" |
Hans-G?nter@21938 | 4 VERSION="1.3" |
paul@4889 | 5 CATEGORY="development" |
paul@4889 | 6 SHORT_DESC="Configuration file parser library." |
paul@4889 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15579 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21938 | 9 WEB_SITE="https://github.com/williamh/dotconf/" |
Hans-G?nter@21938 | 10 |
paul@4889 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21938 | 12 WGET_URL="$[WEB_SITE}archive/v${VERSION%}/$TARBALL" |
paul@4889 | 13 |
pascal@15579 | 14 DEPENDS="" |
Hans-G?nter@21938 | 15 BUILD_DEPENDS="automake" |
pascal@15579 | 16 |
paul@4889 | 17 # Rules to configure and make the package. |
paul@4889 | 18 compile_rules() |
paul@4889 | 19 { |
Hans-G?nter@21938 | 20 autoreconf --install && |
Hans-G?nter@21938 | 21 ./configure \ |
Hans-G?nter@21938 | 22 --prefix=/usr \ |
Hans-G?nter@21938 | 23 --infodir=/usr/share/info \ |
Hans-G?nter@21938 | 24 --mandir=/usr/share/man \ |
paul@4889 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21938 | 26 make && |
Hans-G?nter@21938 | 27 make DESTDIR=$DESTDIR install |
paul@4889 | 28 } |
paul@4889 | 29 |
paul@4889 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4889 | 31 genpkg_rules() |
paul@4889 | 32 { |
paul@4889 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@21938 | 34 |
Hans-G?nter@21939 | 35 # cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21938 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21938 | 37 cp -a $install/usr/share $fs/usr |
paul@4889 | 38 } |