wok-next annotate indent/receipt @ rev 20113

Add some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 09:29:31 2017 +0100 (2017-10-30)
parents 8d64ce80ab95
children 0e7893ac206d
rev   line source
hipeng@11313 1 # SliTaz package receipt.
hipeng@11313 2
hipeng@11313 3 PACKAGE="indent"
hipeng@11313 4 VERSION="2.2.10"
hipeng@11313 5 CATEGORY="utilities"
hipeng@11313 6 SHORT_DESC="A tool for formatting C code."
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15600 8 LICENSE="GPL3"
hipeng@11313 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
hipeng@11313 10 WEB_SITE="http://www.gnu.org/software/indent/"
hipeng@11313 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
hipeng@11313 12
hipeng@11313 13 # Rules to configure and make the package.
hipeng@11313 14 compile_rules()
hipeng@11313 15 {
pascal@19291 16 rm -f man/indent.1
pascal@19291 17 sed -i 's|/doc/|/share&|' doc/Makefile*
pascal@19291 18 ./configure $CONFIGURE_ARGS && make -j 1 && make install
hipeng@11313 19 }
hipeng@11313 20
hipeng@11313 21 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@11313 22 genpkg_rules()
hipeng@11313 23 {
hipeng@11313 24 mkdir -p $fs/usr/bin
pascal@15600 25 cp -a $install/usr/bin/indent $fs/usr/bin
hipeng@11313 26 }