# HG changeset patch # User Liu Peng # Date 1268615171 0 # Node ID 2844c9a2b2538c53a8f9ca3f9360031223032719 # Parent 9d14a0fa9b83f1dd517327944a396c4b7cdd1d2d Added ctags. diff -r 9d14a0fa9b83 -r 2844c9a2b253 ctags/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ctags/receipt Mon Mar 15 01:06:11 2010 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="ctags" +VERSION="5.8" +CATEGORY="utilities" +SHORT_DESC="Generates an index file of language objects found in source files." +MAINTAINER="rocky@slitaz.org" +BUILD_DEPENDS="glibc-dev linux-headers" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ctags.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make prefix=$PWD/_pkg/usr install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +}