wok-current view fish/receipt @ rev 24367
created recipe for bison-lang-3.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 07:42:34 2022 +0100 (2022-02-05) |
parents | e05b74acb4b1 |
children | 0748b6362df7 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 compile_rules()
24 {
25 export LDFLAGS="$LDFLAGS -ltinfo"
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/etc $fs
41 cp -a $install/usr/share/fish $fs/usr/share
42 cp -a $install/usr/share/locale $fs/usr/share
43 }