wok annotate ctags/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 7130b9831b50
children 42e0165c64b9
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"
pascal@15579 8 LICENSE="GPL2"
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
pascal@15579 13 BUILD_DEPENDS=""
pascal@15579 14
rocky@5081 15 # Rules to configure and make the package.
rocky@5081 16 compile_rules()
rocky@5081 17 {
rocky@5081 18 cd $src
rocky@5081 19 ./configure --prefix=/usr \
rocky@5081 20 $CONFIGURE_ARGS &&
rocky@5081 21 make &&
pascal@15579 22 make prefix=$DESTDIR/usr install
rocky@5081 23 }
rocky@5081 24
rocky@5081 25 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@5081 26 genpkg_rules()
rocky@5081 27 {
rocky@5081 28 mkdir -p $fs/usr
pascal@15579 29 cp -a $install/usr/bin $fs/usr
rocky@5081 30 }