wok-6.x diff gnome-ppp/receipt @ rev 15576
lighttpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 08:51:47 2013 +0000 (2013-11-29) |
parents | b7319995b37e |
children | d1c17bd2c2bc |
line diff
1.1 --- a/gnome-ppp/receipt Mon Jan 02 23:06:18 2012 +0100 1.2 +++ b/gnome-ppp/receipt Fri Nov 29 08:51:47 2013 +0000 1.3 @@ -13,19 +13,20 @@ 1.4 TAGS="modem 3G" 1.5 1.6 # Rules to configure and make the package. 1.7 - 1.8 -compile_rules() { 1.9 - cd $src 1.10 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.11 - make && 1.12 - make DESTDIR=$PWD/_pkg install 1.13 +compile_rules() 1.14 +{ 1.15 + cd $src 1.16 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" 1.17 + ./configure --prefix=/usr $CONFIGURE_ARGS && 1.18 + make && 1.19 + make DESTDIR=$DESTDIR install 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 mkdir -p $fs/usr/share 1.26 - cp -a $_pkg/usr/bin $fs/usr 1.27 - cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.28 - cp -a $_pkg/usr/share/icons $fs/usr/share 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.31 + cp -a $install/usr/share/icons $fs/usr/share 1.32 }