openal: moved to opt

This commit is contained in:
Matt Housh 2006-11-13 09:27:27 -06:00
parent abec733744
commit 816005b201
3 changed files with 48 additions and 0 deletions

16
openal/.footprint Normal file
View File

@ -0,0 +1,16 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/openal-config
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/AL/
-rw-r--r-- root/root usr/include/AL/al.h
-rw-r--r-- root/root usr/include/AL/alc.h
-rw-r--r-- root/root usr/include/AL/alext.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libopenal.a
-rwxr-xr-x root/root usr/lib/libopenal.la
lrwxrwxrwx root/root usr/lib/libopenal.so -> libopenal.so.1.0.0
lrwxrwxrwx root/root usr/lib/libopenal.so.1 -> libopenal.so.1.0.0
-rwxr-xr-x root/root usr/lib/libopenal.so.1.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/openal.pc

0
openal/.md5sum Normal file
View File

32
openal/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: Cross-platform 3D audio
# URL: http://www.openal.org/
# Maintainer: Matt Housh, jaeger at crux dot nu
# Depends on: subversion, alsa-lib, libvorbis, libsdl
name=openal
version=svn
release=2
source=()
build() {
if [ -d $PKGMK_SOURCE_DIR/$name ]
then
svn update --config-dir . $PKGMK_SOURCE_DIR/$name
else
svn co --config-dir . \
http://www.openal.org/repos/openal/trunk/OpenAL-Sample \
$PKGMK_SOURCE_DIR/$name
fi
cp -a $PKGMK_SOURCE_DIR/$name $SRC/
cd $name
./autogen.sh
./configure --prefix=/usr \
--exec-prefix=/usr \
--enable-optimization \
--enable-alsa \
--enable-vorbis \
--enable-sdl
make
make DESTDIR=$PKG install
}