wok rev 7001
glew: pack devel files separately
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 15:40:47 2010 +0100 (2010-10-31) |
parents | 89b46dd4a9f4 |
children | 5cf4a8f74371 |
files | glew-dev/receipt glew/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/glew-dev/receipt Sun Oct 31 15:40:47 2010 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="glew-dev" 1.7 +VERSION="1.5.6" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The OpenGL Extension Wrangler Library. (devel files)" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tgz" 1.12 +WEB_SITE="http://glew.sourceforge.net/" 1.13 +WANTED="glew" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 +} 1.23 +
2.1 --- a/glew/receipt Sun Oct 31 14:57:50 2010 +0100 2.2 +++ b/glew/receipt Sun Oct 31 15:40:47 2010 +0100 2.3 @@ -29,6 +29,7 @@ 2.4 # Rules to gen a SliTaz package suitable for Tazpkg. 2.5 genpkg_rules() 2.6 { 2.7 - cp -a $_pkg/usr $fs 2.8 + mkdir -p $fs/usr/lib 2.9 + cp -a $_pkg/usr/bin $fs/usr 2.10 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.11 } 2.12 -