wok-next annotate openal/receipt @ rev 4659
mpg123: fix build
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Dec 28 10:45:36 2009 +0000 (2009-12-28) |
parents | |
children | 6ec17b55b59a |
rev | line source |
---|---|
pascal@3904 | 1 # SliTaz package receipt. |
pascal@3904 | 2 |
pascal@3904 | 3 PACKAGE="openal" |
pascal@3904 | 4 SOURCE="openal-soft" |
pascal@3904 | 5 VERSION="1.8.466" |
pascal@3904 | 6 CATEGORY="multimedia" |
pascal@3904 | 7 SHORT_DESC="cross-platform 3D audio API." |
pascal@3904 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3904 | 9 TARBALL="$SOURCE-$VERSION.bz2" |
pascal@3904 | 10 WEB_SITE="http://www.openal.org/" |
pascal@3904 | 11 WGET_URL="http://connect.creativelabs.com/openal/Downloads/$TARBALL" |
pascal@3904 | 12 BUILD_DEPENDS="cmake" |
pascal@3904 | 13 |
pascal@3904 | 14 # Rules to configure and make the package. |
pascal@3904 | 15 compile_rules() |
pascal@3904 | 16 { |
pascal@3904 | 17 cd $src/CMakeConf |
pascal@3904 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr .. |
pascal@3904 | 19 make && |
pascal@3904 | 20 make DESTDIR=$src/_pkg install |
pascal@3904 | 21 } |
pascal@3904 | 22 |
pascal@3904 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3904 | 24 genpkg_rules() |
pascal@3904 | 25 { |
pascal@3904 | 26 mkdir -p $fs/usr/lib |
pascal@3904 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@3904 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@3904 | 29 } |
pascal@3904 | 30 |