wok annotate tcsh/receipt @ rev 25301
updated sg3_utils, sg3_utils-dev and libsgutils2 (1.45 -> 1.47)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 08:07:57 2022 +0100 (2022-07-20) |
parents | ac8ca9758df1 |
children | d4f09ab2b9bb |
rev | line source |
---|---|
samuel_trassare@11724 | 1 # SliTaz package receipt. |
samuel_trassare@11724 | 2 |
samuel_trassare@11724 | 3 PACKAGE="tcsh" |
Hans-G?nter@24300 | 4 VERSION="6.23.02" |
samuel_trassare@11724 | 5 CATEGORY="system-tools" |
samuel_trassare@11724 | 6 SHORT_DESC="Enhanced, compatible Berkeley UNIX C shell." |
samuel_trassare@11724 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@15600 | 8 LICENSE="BSD" |
Hans-G?nter@22015 | 9 WEB_SITE="https://www.tcsh.org/" |
Hans-G?nter@22015 | 10 |
Hans-G?nter@22015 | 11 TARBALL="TCSH${VERSION//./_}.tar.gz" |
Hans-G?nter@22015 | 12 WGET_URL="https://github.com/tcsh-org/$PACKAGE/archive/$TARBALL" |
samuel_trassare@11724 | 13 |
pascal@17716 | 14 DEPENDS="ncurses" |
pascal@17716 | 15 BUILD_DEPENDS="ncurses-dev" |
Hans-G?nter@23693 | 16 #The following build dep will be necessary when glibc ups to 2.14. |
Hans-G?nter@23693 | 17 #BUILD_DEPENDS="libtirpc" |
pascal@17716 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24057 | 22 sed '/archive.*tar/!d;s|.*/TCSH\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
samuel_trassare@11724 | 25 # Rules to configure and make the package. |
samuel_trassare@11724 | 26 compile_rules() |
samuel_trassare@11724 | 27 { |
pascal@17716 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@15166 | 29 mkdir -p $DESTDIR/usr/bin |
pascal@15166 | 30 touch $DESTDIR/usr/bin/tcsh |
Hans-G?nter@22015 | 31 |
samuel_trassare@11724 | 32 ./configure $CONFIGURE_ARGS && |
samuel_trassare@11724 | 33 make && |
pascal@15166 | 34 make install && |
Hans-G?nter@22015 | 35 |
Hans-G?nter@24300 | 36 rm -f $DESTDIR/usr/bin/tcsh.old |
samuel_trassare@11724 | 37 } |
samuel_trassare@11724 | 38 |
samuel_trassare@11724 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11724 | 40 genpkg_rules() |
samuel_trassare@11724 | 41 { |
Hans-G?nter@22015 | 42 mkdir -p $fs/usr/bin |
Hans-G?nter@22015 | 43 mkdir -p $fs/usr/share |
Hans-G?nter@22015 | 44 |
Hans-G?nter@22015 | 45 cp -a $install/usr/bin/tcsh $fs/usr/bin |
Hans-G?nter@22015 | 46 cp -ar $install/usr/share/locale $fs/usr/share |
samuel_trassare@11724 | 47 } |