wok diff 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
line diff
     1.1 --- a/ctags/receipt	Sun Oct 10 15:15:08 2010 +0000
     1.2 +++ b/ctags/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Generates an index file of language objects found in source files."
     1.6  MAINTAINER="rocky@slitaz.org"
     1.7 -BUILD_DEPENDS=""
     1.8 +LICENSE="GPL2"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://ctags.sourceforge.net/"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +BUILD_DEPENDS=""
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -17,12 +19,12 @@
    1.19      ./configure --prefix=/usr \
    1.20          $CONFIGURE_ARGS &&
    1.21      make &&
    1.22 -    make prefix=$PWD/_pkg/usr install
    1.23 +    make prefix=$DESTDIR/usr install
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29      mkdir -p $fs/usr
    1.30 -    cp -a $_pkg/usr/bin $fs/usr
    1.31 +    cp -a $install/usr/bin $fs/usr
    1.32  }