wok-6.x annotate libconfuse/receipt @ rev 22023
Remove cat process
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 20 12:39:13 2019 +0200 (2019-10-20) |
parents | 5a22e9bbefe0 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
mallory@2718 | 1 # SliTaz package receipt. |
mallory@2718 | 2 |
mallory@2718 | 3 PACKAGE="libconfuse" |
Hans-G?nter@21163 | 4 VERSION="3.2.2" |
mallory@2718 | 5 CATEGORY="misc" |
mallory@2718 | 6 SHORT_DESC="Configuration file parser library." |
mallory@2718 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15472 | 8 LICENSE="ISC" |
mallory@2718 | 9 WEB_SITE="http://www.nongnu.org/confuse/" |
Hans-G?nter@21163 | 10 |
Hans-G?nter@21163 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21163 | 12 WGET_URL="https://github.com/martinh/$PACKAGE/archive/v$VERSION.tar.gz" |
mallory@2718 | 13 |
pascal@15472 | 14 DEPENDS="" |
Hans-G?nter@21164 | 15 BUILD_DEPENDS="automake libtool" |
pascal@15472 | 16 |
mallory@2718 | 17 # Rules to configure and make the package. |
mallory@2718 | 18 compile_rules() |
mallory@2718 | 19 { |
Hans-G?nter@21163 | 20 ./autogen.sh && |
Hans-G?nter@21163 | 21 ./configure \ |
Hans-G?nter@21163 | 22 --prefix=/usr \ |
Hans-G?nter@21163 | 23 --infodir=/usr/share/info \ |
Hans-G?nter@21163 | 24 --mandir=/usr/share/man \ |
pascal@4296 | 25 $CONFIGURE_ARGS |
Hans-G?nter@21163 | 26 |
pascal@4296 | 27 sed -i 's/ -Werror//' src/Makefile |
Hans-G?nter@21163 | 28 |
Hans-G?nter@21163 | 29 make -j 1 && |
Hans-G?nter@21163 | 30 make DESTDIR=$DESTDIR install |
mallory@2718 | 31 } |
mallory@2718 | 32 |
mallory@2718 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2718 | 34 genpkg_rules() |
mallory@2718 | 35 { |
mallory@2718 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@21163 | 37 |
Hans-G?nter@21163 | 38 cp -a $install/usr/include $fs/usr |
Hans-G?nter@21163 | 39 cp -a $install/usr/lib/*.*a $fs/usr/lib |
Hans-G?nter@21163 | 40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
mallory@2718 | 41 } |