wok-next rev 3904
Add openal
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 15 15:22:19 2009 +0200 (2009-08-15) |
parents | b9a7d64c6358 |
children | 36ea9192b791 |
files | openal-dev/receipt openal/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openal-dev/receipt Sat Aug 15 15:22:19 2009 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openal-dev" 1.7 +SOURCE="openal-soft" 1.8 +VERSION="1.8.466" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="cross-platform 3D audio API, development files." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +WEB_SITE="http://www.openal.org/" 1.13 +WANTED="openal" 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 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/openal/receipt Sat Aug 15 15:22:19 2009 +0200 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="openal" 2.7 +SOURCE="openal-soft" 2.8 +VERSION="1.8.466" 2.9 +CATEGORY="multimedia" 2.10 +SHORT_DESC="cross-platform 3D audio API." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +TARBALL="$SOURCE-$VERSION.bz2" 2.13 +WEB_SITE="http://www.openal.org/" 2.14 +WGET_URL="http://connect.creativelabs.com/openal/Downloads/$TARBALL" 2.15 +BUILD_DEPENDS="cmake" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src/CMakeConf 2.21 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. 2.22 + make && 2.23 + make DESTDIR=$src/_pkg install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/lib 2.30 + cp -a $_pkg/usr/bin $fs/usr 2.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.32 +} 2.33 +