wok diff gmrun/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents d1768332cee0
children 75362eca62d8
line diff
     1.1 --- a/gmrun/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/gmrun/receipt	Sat Dec 21 07:21:07 2013 +0100
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Program launcher with autocompletion."
     1.6  MAINTAINER="rocky@slitaz.org"
     1.7 -DEPENDS="gtk+ gcc-lib-base popt"
     1.8 -BUILD_DEPENDS="gtk+-dev popt-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://sourceforge.net/projects/gmrun"
    1.12  WGET_URL="$SF_MIRROR/gmrun/$TARBALL"
    1.13  
    1.14 +DEPENDS="gtk+ gcc-lib-base popt"
    1.15 +BUILD_DEPENDS="gtk+-dev popt-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -26,14 +28,14 @@
    1.21      ./configure --prefix=/usr \
    1.22          $CONFIGURE_ARGS &&
    1.23      make &&
    1.24 -    make install DESTDIR=$PWD/_pkg
    1.25 +    make install DESTDIR=$DESTDIR
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31      mkdir -p $fs/usr
    1.32 -    cp -a $_pkg/usr/bin $fs/usr
    1.33 -    cp -a $_pkg/usr/share $fs/usr
    1.34 +    cp -a $install/usr/bin $fs/usr
    1.35 +    cp -a $install/usr/share $fs/usr
    1.36      cp $stuff/gmrunrc $fs/usr/share/gmrun
    1.37  }