wok-6.x view wget/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
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 | d5596dfb8eb2 |
children | 32e177776fc6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.19.5"
5 CATEGORY="network"
6 SHORT_DESC="GNU Wget - non-interactive download of files from the Web"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/wget/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
13 CONFIG_FILES="/etc/wgetrc"
15 DEPENDS="libssl libidn pcre util-linux-uuid zlib"
16 BUILD_DEPENDS="openssl-dev libidn-dev flex util-linux-uuid-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --with-ssl=openssl \
28 --with-openssl \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS $ARCH_ARGS &&
31 make DESTDIR=$DESTDIR install
33 gzip -9 $install/usr/share/man/man1/wget.1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -r $fs/usr/share/info $fs/usr/share/locale
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox "$1/usr/bin/wget"
46 }