wok view indent/receipt @ rev 21619

gcc83-lib-base: revert to gcc-lib-base post install
Previous post-install rules don't work for me producing error:
error: C compiler cannot create executables
on the another plain build when I previously used gcc83 & gcc83-lib-base to compile my other package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 25 14:09:45 2019 +0300 (2019-05-25)
parents fafc5fc0dcdb
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="indent"
4 VERSION="2.2.12"
5 CATEGORY="utilities"
6 SHORT_DESC="A tool for formatting C code."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/indent/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="texinfo"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 rm -f man/indent.1
20 sed -i 's|/doc/|/share&|' doc/Makefile*
22 ./configure $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/indent $fs/usr/bin
32 }