wok-next diff opencsg/receipt @ rev 20615
Up cookutils (1050), glib-networking (2.54.1), gsettings-desktop-schemas (3.24.1), libsoup (2.60.3); add geoclue (2.4.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 20 14:55:15 2018 +0300 (2018-04-20) |
parents | 6e1c0c61cc18 |
children | d5aab818505e |
line diff
1.1 --- a/opencsg/receipt Tue Nov 04 13:21:47 2014 +0100 1.2 +++ b/opencsg/receipt Fri Apr 20 14:55:15 2018 +0300 1.3 @@ -1,24 +1,21 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="opencsg" 1.8 -SOURCE="OpenCSG" 1.9 VERSION="1.4.0" 1.10 CATEGORY="graphics" 1.11 -SHORT_DESC="The CSG rendering library." 1.12 +SHORT_DESC="The CSG rendering library" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://www.opencsg.org/" 1.17 + 1.18 +TARBALL="OpenCSG-$VERSION.tar.gz" 1.19 WGET_URL="${WEB_SITE}$TARBALL" 1.20 1.21 -DEPENDS="glew mesa" 1.22 BUILD_DEPENDS="glew-dev mesa-dev freeglut-dev" 1.23 +SPLIT="opencsg-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -# 1.27 -compile_rules() 1.28 -{ 1.29 - for i in /usr/lib /usr/bin /bin /usr/include ; do 1.30 +compile_rules() { 1.31 + for i in /usr/lib /usr/bin /bin /usr/include; do 1.32 mkdir -p $DESTDIR$i 1.33 done 1.34 find -name Makefile | xargs sed -i 's|usr/local|usr|' 1.35 @@ -26,9 +23,17 @@ 1.36 make INSTALL_ROOT=$DESTDIR install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/lib $fs/usr 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + opencsg) 1.47 + mkdir -p $fs/usr 1.48 + cp -a $install/usr/lib $fs/usr 1.49 + DEPENDS="glew mesa" 1.50 + ;; 1.51 + *-dev) 1.52 + mkdir -p $fs/usr 1.53 + cp -a $install/usr/bin $fs/usr 1.54 + cp -a $install/usr/include $fs/usr 1.55 + ;; 1.56 + esac 1.57 }