wok rev 9954

elink: fix receipt path and build
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 14:56:30 2011 +0200 (2011-05-18)
parents 3d847ed49092
children 57749b8f1c3c
files elinks/receipt
line diff
     1.1 --- a/elinks/receipt	Wed May 18 14:38:49 2011 +0200
     1.2 +++ b/elinks/receipt	Wed May 18 14:56:30 2011 +0200
     1.3 @@ -5,27 +5,27 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Full featured www text browser"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \
     1.8 -xorg-libXau xorg-libXdmcp"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://elinks.or.cz"
    1.11  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.12  TAGS="browser"
    1.13  
    1.14 +DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \
    1.15 +xorg-libXau xorg-libXdmcp"
    1.16 +BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev libidn-dev expat-dev \
    1.17 +xorg-libXau-dev xorg-libXdmcp-dev"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	./configure --prefix=$PWD/_pkg/usr --infodir=$PWD/_pkg/usr/share/info \
    1.24 -	--mandir=$PWD/_pkg/usr/share/man $CONFIGURE_ARGS &&
    1.25 -	make &&
    1.26 -	make install
    1.27 +	./configure && 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
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36  }
    1.37