wok-next diff glew/receipt @ rev 15041
iproute2: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 13:44:12 2013 +0000 (2013-08-12) |
parents | 73641efed1cc |
children | de49f29b101e |
line diff
1.1 --- a/glew/receipt Mon Apr 23 16:30:27 2012 +0200 1.2 +++ b/glew/receipt Mon Aug 12 13:44:12 2013 +0000 1.3 @@ -8,6 +8,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tgz" 1.5 WEB_SITE="http://glew.sourceforge.net/" 1.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.7 + 1.8 DEPENDS="glibc-base libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ 1.9 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm mesa libglu-mesa \ 1.10 xorg-libXmu xorg-libXi xorg-libXt xorg-libSM xorg-libICE util-linux-uuid" 1.11 @@ -23,13 +24,13 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - make && make GLEW_DEST=$PWD/_pkg/usr install 1.16 + make && make GLEW_DEST=$DESTDIR/usr install 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs/usr/lib 1.23 - cp -a $_pkg/usr/bin $fs/usr 1.24 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.25 + cp -a $install/usr/bin $fs/usr 1.26 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.27 }