wok annotate fish/receipt @ rev 24668
updated intel-microcode (20210216 -> 20220207)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:27:56 2022 +0100 (2022-03-11) |
parents | 0748b6362df7 |
children | 20ad21d5532c |
rev | line source |
---|---|
tcg@17299 | 1 # SliTaz package receipt. |
tcg@17299 | 2 |
tcg@17299 | 3 PACKAGE="fish" |
Hans-G?nter@24551 | 4 VERSION="3.3.1" |
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 |
Hans-G?nter@24551 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22726 | 12 WGET_URL="https://github.com/fish-shell/fish-shell/releases/download/$VERSION/$TARBALL" |
tcg@17299 | 13 |
Hans-G?nter@24552 | 14 SUGGESTED="fish-doc fish-lang" |
Hans-G?nter@22726 | 15 DEPENDS="gcc83-lib-base ncurses" |
Hans-G?nter@24551 | 16 BUILD_DEPENDS="cmake gcc83 ncurses-dev ncursesw-extra" |
pascal@17301 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
tcg@17299 | 24 compile_rules() |
tcg@17299 | 25 { |
Hans-G?nter@24551 | 26 export CC=gcc-83 |
Hans-G?nter@24551 | 27 export CXX=g++-83 |
Hans-G?nter@24551 | 28 mkdir _build |
Hans-G?nter@24551 | 29 cd _build |
Hans-G?nter@24551 | 30 cmake .. \ |
Hans-G?nter@24551 | 31 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@24551 | 32 make install DESTDIR=$DESTDIR |
tcg@17299 | 33 } |
tcg@17299 | 34 |
tcg@17299 | 35 genpkg_rules() |
tcg@17299 | 36 { |
tcg@17313 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22726 | 38 |
Hans-G?nter@22726 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22726 | 40 cp -a $install/usr/etc $fs |
Hans-G?nter@22726 | 41 cp -a $install/usr/share/fish $fs/usr/share |
Hans-G?nter@24551 | 42 # moved to package fish-lang: |
Hans-G?nter@24551 | 43 # cp -a $install/usr/share/locale $fs/usr/share |
tcg@17299 | 44 } |