wok-6.x diff irssi/receipt @ rev 15611

cifs-utils: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 07 14:51:10 2013 +0000 (2013-12-07)
parents 6ae5a11c34c0
children 9bbc75c6c3d7
line diff
     1.1 --- a/irssi/receipt	Sun May 02 02:43:33 2010 +0000
     1.2 +++ b/irssi/receipt	Sat Dec 07 14:51:10 2013 +0000
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Lightweight console IRC client"
     1.6  MAINTAINER="mallory@sweetpeople.org"
     1.7 -DEPENDS="glib openssl perl ncurses"
     1.8 -BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://irssi.org/"
    1.12  WGET_URL="http://irssi.org/files/$TARBALL"
    1.13  TAGS="irc"
    1.14  
    1.15 +DEPENDS="glib openssl perl ncurses"
    1.16 +BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {	
    1.21 @@ -21,16 +23,16 @@
    1.22  		--sysconfdir=/etc/irssi \
    1.23  		$CONFIGURE_ARGS &&
    1.24  	make &&
    1.25 -	make DESTDIR=$PWD/_pkg install
    1.26 +	make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/share/
    1.33 -	cp -a $_pkg/etc $fs
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	cp -a $_pkg/usr/lib $fs/usr
    1.36 -	cp -a $_pkg/usr/share/irssi $fs/usr/share
    1.37 +	cp -a $install/etc $fs
    1.38 +	cp -a $install/usr/bin $fs/usr
    1.39 +	cp -a $install/usr/lib $fs/usr
    1.40 +	cp -a $install/usr/share/irssi $fs/usr/share
    1.41  }
    1.42