wok-6.x view openal/receipt @ rev 19959

slim-theme-control: add compile_rules(); files processing following it.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 20 15:38:00 2017 +0300 (2017-05-20)
parents a00bf44ed23d
children 37b2a1afa30e
line source
1 # SliTaz package receipt.
3 PACKAGE="openal"
4 SOURCE="openal-soft"
5 VERSION="1.16.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="cross-platform 3D audio API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.openal.org/"
12 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL"
13 BUILD_DEPENDS="cmake"
14 TAGS="multimedia audio sound 3D"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake -DCMAKE_INSTALL_PREFIX=/usr
20 make &&
21 make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }