wok annotate tcsh/receipt @ rev 25788
xgalaga: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 08:52:14 2024 +0000 (6 weeks ago) |
parents | 13ff266c0962 |
children |
rev | line source |
---|---|
samuel_trassare@11724 | 1 # SliTaz package receipt. |
samuel_trassare@11724 | 2 |
samuel_trassare@11724 | 3 PACKAGE="tcsh" |
Hans-G?nter@25349 | 4 VERSION="6.24.01" |
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 |
Hans-G?nter@25349 | 14 SUGGESTED="tcsh-lang" |
pascal@17716 | 15 DEPENDS="ncurses" |
pascal@17716 | 16 BUILD_DEPENDS="ncurses-dev" |
Hans-G?nter@23693 | 17 #The following build dep will be necessary when glibc ups to 2.14. |
Hans-G?nter@23693 | 18 #BUILD_DEPENDS="libtirpc" |
pascal@17716 | 19 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24299 | 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24057 | 23 sed '/archive.*tar/!d;s|.*/TCSH\(.*\).tar.*|\1|;s|_|.|g;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
samuel_trassare@11724 | 26 # Rules to configure and make the package. |
samuel_trassare@11724 | 27 compile_rules() |
samuel_trassare@11724 | 28 { |
pascal@17716 | 29 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@15166 | 30 mkdir -p $DESTDIR/usr/bin |
pascal@15166 | 31 touch $DESTDIR/usr/bin/tcsh |
Hans-G?nter@22015 | 32 |
samuel_trassare@11724 | 33 ./configure $CONFIGURE_ARGS && |
samuel_trassare@11724 | 34 make && |
pascal@15166 | 35 make install && |
Hans-G?nter@22015 | 36 |
Hans-G?nter@24300 | 37 rm -f $DESTDIR/usr/bin/tcsh.old |
samuel_trassare@11724 | 38 } |
samuel_trassare@11724 | 39 |
samuel_trassare@11724 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11724 | 41 genpkg_rules() |
samuel_trassare@11724 | 42 { |
Hans-G?nter@25349 | 43 # 6.24.01 |
Hans-G?nter@25349 | 44 # /usr/share/locale split off to tcsh-lang |
Hans-G?nter@22015 | 45 |
Hans-G?nter@25349 | 46 cook_copy_folders bin |
samuel_trassare@11724 | 47 } |