wok-6.x annotate tcsh/receipt @ rev 16681
Create some /var/run/<dir> in /etc/init.d/<daemon> scritps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 18 20:24:07 2014 +0000 (2014-05-18) |
parents | aa4f4cb93068 |
children | d9d7fcbb1ab3 |
rev | line source |
---|---|
samuel_trassare@11724 | 1 # SliTaz package receipt. |
samuel_trassare@11724 | 2 |
samuel_trassare@11724 | 3 PACKAGE="tcsh" |
pascal@11726 | 4 VERSION="6.18.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" |
samuel_trassare@11724 | 9 WEB_SITE="http://www.tsch.org/Welcome" |
samuel_trassare@11724 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
samuel_trassare@11724 | 11 WGET_URL="ftp://ftp.astron.com/pub/$PACKAGE/$TARBALL" |
samuel_trassare@11724 | 12 #The following build dep will be necessary when glibc ups to 2.14. |
samuel_trassare@11724 | 13 #BUILD_DEPENDS="libtirpc" |
samuel_trassare@11724 | 14 |
samuel_trassare@11724 | 15 # Rules to configure and make the package. |
samuel_trassare@11724 | 16 compile_rules() |
samuel_trassare@11724 | 17 { |
pascal@15166 | 18 mkdir -p $DESTDIR/usr/bin |
pascal@15166 | 19 touch $DESTDIR/usr/bin/tcsh |
samuel_trassare@11724 | 20 ./configure $CONFIGURE_ARGS && |
samuel_trassare@11724 | 21 make && |
pascal@15166 | 22 make install && |
pascal@15166 | 23 rm -f $DESTDIR/usr/bin/tcsh.old |
samuel_trassare@11724 | 24 } |
samuel_trassare@11724 | 25 |
samuel_trassare@11724 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11724 | 27 genpkg_rules() |
samuel_trassare@11724 | 28 { |
samuel_trassare@11725 | 29 mkdir -p $fs/usr/bin \ |
samuel_trassare@11725 | 30 $fs/usr/share |
samuel_trassare@11725 | 31 |
samuel_trassare@11724 | 32 cp -a $install/usr/bin/tcsh $fs/usr/bin |
samuel_trassare@11725 | 33 |
samuel_trassare@11725 | 34 cp -ar $install/usr/share/locale $fs/usr/share |
samuel_trassare@11724 | 35 } |
samuel_trassare@11724 | 36 |