wok diff mp/receipt @ rev 17226
slim: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 16:37:48 2014 +0200 (2014-10-15) |
parents | f666056b4ad7 |
children | 5d53e8ccbc8d |
line diff
1.1 --- a/mp/receipt Thu Jan 21 23:08:16 2010 +0100 1.2 +++ b/mp/receipt Wed Oct 15 16:37:48 2014 +0200 1.3 @@ -5,27 +5,30 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A text editor for programmers" 1.6 MAINTAINER="allan316@gmail.com" 1.7 -DEPENDS="gtk+" 1.8 +LICENSE="GPL2" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://triptico.com/software/mp.html" 1.11 WGET_URL="http://triptico.com/download/$TARBALL" 1.12 1.13 +DEPENDS="gtk+" 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 cd $src 1.19 - mkdir -p $PWD/_pkg/usr/bin 1.20 + mkdir -p $DESTDIR/usr/bin 1.21 + sed -i 's/TRY_DRIVERS()/(0)/' mp_core.c 1.22 ./config.sh \ 1.23 --prefix=/usr \ 1.24 --without-qt4 \ 1.25 $CONFIGURE_ARGS 1.26 - make && make DESTDIR=$PWD/_pkg install 1.27 + make && make DESTDIR=$DESTDIR install 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 mkdir -p $fs/usr/share 1.34 - cp -a $_pkg/usr/bin $fs/usr 1.35 - cp -a $_pkg/usr/share/mp-5 $fs/usr/share 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + cp -a $install/usr/share/mp-5 $fs/usr/share 1.38 }