wok-next diff openal/receipt @ rev 20475
Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 11 13:37:02 2018 +0200 (2018-03-11) |
parents | a3886193b324 |
children | 4e6503d7a19f |
line diff
1.1 --- a/openal/receipt Fri Jul 10 16:51:38 2015 +0200 1.2 +++ b/openal/receipt Sun Mar 11 13:37:02 2018 +0200 1.3 @@ -1,30 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="openal" 1.8 -SOURCE="openal-soft" 1.9 VERSION="1.16.0" 1.10 CATEGORY="multimedia" 1.11 -SHORT_DESC="cross-platform 3D audio API." 1.12 +SHORT_DESC="Cross-platform 3D audio API" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="LGPL2" 1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.openal.org/" 1.17 + 1.18 +TARBALL="openal-soft-$VERSION.tar.bz2" 1.19 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL" 1.20 + 1.21 BUILD_DEPENDS="cmake" 1.22 -TAGS="multimedia audio sound 3D" 1.23 +SPLIT="openal-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 cmake -DCMAKE_INSTALL_PREFIX=/usr 1.30 make && 1.31 make install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 - mkdir -p $fs/usr/lib 1.38 - cp -a $install/usr/bin $fs/usr 1.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 +genpkg_rules() { 1.41 + case $PACKAGE in 1.42 + openal) 1.43 + copy @std 1.44 + TAGS="multimedia audio sound 3D" 1.45 + ;; 1.46 + *-dev) 1.47 + copy @dev 1.48 + ;; 1.49 + esac 1.50 }