wok-undigest rev 453
fbvnc: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 07 22:42:53 2011 +0200 (2011-09-07) |
parents | 390e43cec78d |
children | 3a8138f9b983 |
files | fbvnc/receipt |
line diff
1.1 --- a/fbvnc/receipt Wed Sep 07 21:43:30 2011 +0200 1.2 +++ b/fbvnc/receipt Wed Sep 07 22:42:53 2011 +0200 1.3 @@ -6,18 +6,19 @@ 1.4 SHORT_DESC="VNC client in frame buffer." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 WEB_SITE="http://repo.or.cz/w/fbvnc.git" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.8 +_TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules() 1.12 { 1.13 - [ -s $SOURCES_REPOSITORY/$TARBALL ] || 1.14 - wget -O $SOURCES_REPOSITORY/$TARBALL \ 1.15 + [ -s $SOURCES_REPOSITORY/$_TARBALL ] || 1.16 + wget -O $SOURCES_REPOSITORY/$_TARBALL \ 1.17 $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz 1.18 - tar xzf $SOURCES_REPOSITORY/$TARBALL 1.19 - mv $PACKAGE $src 1.20 cd $src 1.21 - make 1.22 + tar xzf $SOURCES_REPOSITORY/$_TARBALL 1.23 + mkdir $DESTDIR 1.24 + cd fbvnc 1.25 + make && cp fbvnc $DESTDIR 1.26 } 1.27 1.28 1.29 @@ -25,5 +26,5 @@ 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/usr/bin 1.33 - cp $src/fbvnc $fs/usr/bin 1.34 + cp $_pkg/fbvnc $fs/usr/bin 1.35 }