wok-current annotate indent/receipt @ rev 21524
updated ncdu (1.13 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 03 17:30:38 2019 +0100 (2019-05-03) |
parents | fafc5fc0dcdb |
children | 71360a13cd94 |
rev | line source |
---|---|
hipeng@11313 | 1 # SliTaz package receipt. |
hipeng@11313 | 2 |
hipeng@11313 | 3 PACKAGE="indent" |
Hans-G?nter@21048 | 4 VERSION="2.2.12" |
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" |
Hans-G?nter@21048 | 9 WEB_SITE="https://www.gnu.org/software/indent/" |
Hans-G?nter@21048 | 10 |
hipeng@11313 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
hipeng@11313 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
hipeng@11313 | 13 |
Hans-G?nter@21050 | 14 BUILD_DEPENDS="texinfo" |
Hans-G?nter@21050 | 15 |
hipeng@11313 | 16 # Rules to configure and make the package. |
hipeng@11313 | 17 compile_rules() |
hipeng@11313 | 18 { |
pascal@19291 | 19 rm -f man/indent.1 |
pascal@19291 | 20 sed -i 's|/doc/|/share&|' doc/Makefile* |
Hans-G?nter@21048 | 21 |
Hans-G?nter@21048 | 22 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21048 | 23 make -j 1 && |
Hans-G?nter@21048 | 24 make install |
hipeng@11313 | 25 } |
hipeng@11313 | 26 |
hipeng@11313 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@11313 | 28 genpkg_rules() |
hipeng@11313 | 29 { |
hipeng@11313 | 30 mkdir -p $fs/usr/bin |
pascal@15600 | 31 cp -a $install/usr/bin/indent $fs/usr/bin |
hipeng@11313 | 32 } |