wok-current annotate ctags/receipt @ rev 5209

xarchive: fix double suffix case (.tar.gz)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 02 20:56:18 2010 +0200 (2010-04-02)
parents
children 7130b9831b50
rev   line source
rocky@5081 1 # SliTaz package receipt.
rocky@5081 2
rocky@5081 3 PACKAGE="ctags"
rocky@5081 4 VERSION="5.8"
rocky@5081 5 CATEGORY="utilities"
rocky@5081 6 SHORT_DESC="Generates an index file of language objects found in source files."
rocky@5081 7 MAINTAINER="rocky@slitaz.org"
rocky@5081 8 BUILD_DEPENDS="glibc-dev linux-headers"
rocky@5081 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@5081 10 WEB_SITE="http://ctags.sourceforge.net/"
rocky@5081 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
rocky@5081 12
rocky@5081 13 # Rules to configure and make the package.
rocky@5081 14 compile_rules()
rocky@5081 15 {
rocky@5081 16 cd $src
rocky@5081 17 ./configure --prefix=/usr \
rocky@5081 18 $CONFIGURE_ARGS &&
rocky@5081 19 make &&
rocky@5081 20 make prefix=$PWD/_pkg/usr install
rocky@5081 21 }
rocky@5081 22
rocky@5081 23 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@5081 24 genpkg_rules()
rocky@5081 25 {
rocky@5081 26 mkdir -p $fs/usr
rocky@5081 27 cp -a $_pkg/usr/bin $fs/usr
rocky@5081 28 }