wok annotate fish/receipt @ rev 24040

Up zstd (1.4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 13 17:03:24 2021 +0000 (2021-04-13)
parents c7c3567bd8d4
children 5ea0ce1cecc0
rev   line source
tcg@17299 1 # SliTaz package receipt.
tcg@17299 2
tcg@17299 3 PACKAGE="fish"
Hans-G?nter@22726 4 VERSION="3.0.2"
tcg@17299 5 CATEGORY="system-tools"
Hans-G?nter@22726 6 SHORT_DESC="The FrIendly SHell."
tcg@17299 7 MAINTAINER="tcg.thegamer@gmail.com"
tcg@17299 8 LICENSE="GPL2"
Hans-G?nter@22726 9 WEB_SITE="https://fishshell.com"
Hans-G?nter@22726 10
tcg@17299 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22726 12 WGET_URL="https://github.com/fish-shell/fish-shell/releases/download/$VERSION/$TARBALL"
tcg@17299 13
Hans-G?nter@22726 14 DEPENDS="gcc83-lib-base ncurses"
Hans-G?nter@22726 15 BUILD_DEPENDS="gcc83 ncurses-dev ncursesw-extra"
pascal@17301 16
tcg@17299 17 compile_rules()
tcg@17299 18 {
pascal@17673 19 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@22726 20
Hans-G?nter@22726 21 ./configure \
Hans-G?nter@22726 22 CC=gcc-83 \
Hans-G?nter@22726 23 CXX=g++-83 \
tcg@17299 24 $CONFIGURE_ARGS &&
tcg@17299 25 make &&
tcg@17299 26 make DESTDIR=$DESTDIR install
tcg@17299 27 }
tcg@17299 28
tcg@17299 29 genpkg_rules()
tcg@17299 30 {
tcg@17313 31 mkdir -p $fs/usr/share
Hans-G?nter@22726 32
Hans-G?nter@22726 33 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22726 34 cp -a $install/usr/etc $fs
Hans-G?nter@22726 35 cp -a $install/usr/share/fish $fs/usr/share
Hans-G?nter@22726 36 cp -a $install/usr/share/locale $fs/usr/share
tcg@17299 37 }