wok-6.x annotate fish/receipt @ rev 24168

updated osm2pgrouting (2.3.6 -> 2.3.8)
author Hans-G?nter Theisgen
date Wed Dec 29 06:29:35 2021 +0100 (2021-12-29)
parents e05b74acb4b1
children 0748b6362df7
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
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
tcg@17299 23 compile_rules()
tcg@17299 24 {
pascal@17673 25 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@22726 26
Hans-G?nter@22726 27 ./configure \
Hans-G?nter@22726 28 CC=gcc-83 \
Hans-G?nter@22726 29 CXX=g++-83 \
tcg@17299 30 $CONFIGURE_ARGS &&
tcg@17299 31 make &&
tcg@17299 32 make DESTDIR=$DESTDIR install
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@22726 42 cp -a $install/usr/share/locale $fs/usr/share
tcg@17299 43 }