wok annotate openal/receipt @ rev 22473
updated aespipe (2.4e -> 2.4f)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 27 17:45:00 2019 +0100 (2019-12-27) |
parents | 7d3d60e180e6 |
children | 45041bf06ff9 |
rev | line source |
---|---|
pascal@3904 | 1 # SliTaz package receipt. |
pascal@3904 | 2 |
pascal@3904 | 3 PACKAGE="openal" |
pascal@3904 | 4 SOURCE="openal-soft" |
pascal@18193 | 5 VERSION="1.16.0" |
pascal@3904 | 6 CATEGORY="multimedia" |
pascal@3904 | 7 SHORT_DESC="cross-platform 3D audio API." |
pascal@3904 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15004 | 9 LICENSE="LGPL2" |
slaxemulator@5409 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@3904 | 11 WEB_SITE="http://www.openal.org/" |
pascal@18193 | 12 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL" |
pascal@3904 | 13 BUILD_DEPENDS="cmake" |
jozee@4970 | 14 TAGS="multimedia audio sound 3D" |
pascal@3904 | 15 |
pascal@3904 | 16 # Rules to configure and make the package. |
pascal@3904 | 17 compile_rules() |
pascal@3904 | 18 { |
slaxemulator@5409 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr |
pascal@3904 | 20 make && |
gokhlayeh@8774 | 21 make install |
pascal@3904 | 22 } |
pascal@3904 | 23 |
pascal@3904 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3904 | 25 genpkg_rules() |
pascal@3904 | 26 { |
pascal@3904 | 27 mkdir -p $fs/usr/lib |
pascal@15004 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15004 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@3904 | 30 } |
pascal@21785 | 31 |
pascal@21785 | 32 # Pre and post install commands for Tazpkg. |
pascal@21785 | 33 post_install() |
pascal@21785 | 34 { |
pascal@21789 | 35 [ -s $1/etc/rcS.conf ] && |
pascal@21785 | 36 case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in |
pascal@21785 | 37 *\ snd-pcm-oss\ *) ;; |
al@22043 | 38 *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;; |
pascal@21785 | 39 esac |
pascal@21789 | 40 [ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true |
pascal@21785 | 41 } |