wok-current view fish/receipt @ rev 23887

glibc: fix for binutils 2.29 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 11:18:27 2020 +0000 (2020-07-17)
parents c7c3567bd8d4
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="fish"
4 VERSION="3.0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="The FrIendly SHell."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://fishshell.com"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/fish-shell/fish-shell/releases/download/$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base ncurses"
15 BUILD_DEPENDS="gcc83 ncurses-dev ncursesw-extra"
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
21 ./configure \
22 CC=gcc-83 \
23 CXX=g++-83 \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/etc $fs
35 cp -a $install/usr/share/fish $fs/usr/share
36 cp -a $install/usr/share/locale $fs/usr/share
37 }