wok diff apache-mod-perl/receipt @ rev 15361

tuxmath: add -lt4k_common
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 10:41:05 2013 +0000 (2013-10-02)
parents bac6392b8b25
children 8267887ae7af
line diff
     1.1 --- a/apache-mod-perl/receipt	Sun May 15 12:09:52 2011 +0000
     1.2 +++ b/apache-mod-perl/receipt	Wed Oct 02 10:41:05 2013 +0000
     1.3 @@ -5,29 +5,31 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="PERL module for Apache"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="apache"
     1.8 -BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
     1.9 +LICENSE="Apache"
    1.10  SOURCE="mod_perl"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://perl.apache.org/"
    1.13  WGET_URL="http://perl.apache.org/dist/$TARBALL"
    1.14  
    1.15 +DEPENDS="apache"
    1.16 +BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22  	perl Makefile.PL MP_APXS=/usr/bin/apxs && \
    1.23  	make && \
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    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/share
    1.32 -	cp -a $_pkg/usr/bin $fs/usr
    1.33 -	cp -a $_pkg/usr/lib $fs/usr
    1.34 -	cp -a $_pkg/usr/share/apache $fs/usr/share
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/lib $fs/usr
    1.37 +	cp -a $install/usr/share/apache $fs/usr/share
    1.38  	
    1.39  }
    1.40