wok annotate dotconf/receipt @ rev 23843

gettext: add ncurses to depends
author Richard Dunbar <mojo@slitaz.org>
date Sat Jun 13 02:21:20 2020 -0400 (2020-06-13)
parents 75b0b61c5994
children b569b85b0fb9
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=""
pascal@23623 15 BUILD_DEPENDS="libtool"
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 }