mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
new port: libogg-32
This commit is contained in:
1
multilib/libogg-32/.checksums
Normal file
1
multilib/libogg-32/.checksums
Normal file
@@ -0,0 +1 @@
|
||||
3178c98341559657a15b185bf5d700a5 libogg-1.3.5.tar.xz
|
||||
9
multilib/libogg-32/.pkgfiles
Normal file
9
multilib/libogg-32/.pkgfiles
Normal file
@@ -0,0 +1,9 @@
|
||||
libogg-32-1.3.5-1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rw-r--r-- root/root usr/lib32/libogg.a
|
||||
lrwxrwxrwx root/root usr/lib32/libogg.so -> libogg.so.0.8.5
|
||||
lrwxrwxrwx root/root usr/lib32/libogg.so.0 -> libogg.so.0.8.5
|
||||
-rwxr-xr-x root/root usr/lib32/libogg.so.0.8.5
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/ogg.pc
|
||||
23
multilib/libogg-32/spkgbuild
Normal file
23
multilib/libogg-32/spkgbuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# description : Ogg bitstream and framing library
|
||||
# homepage : https://www.xiph.org/ogg/
|
||||
# depends : libogg
|
||||
|
||||
name=libogg-32
|
||||
version=1.3.5
|
||||
release=1
|
||||
source="https://downloads.xiph.org/releases/ogg/libogg-$version.tar.xz"
|
||||
|
||||
build() {
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
|
||||
|
||||
cd ${name%-*}-$version
|
||||
|
||||
./configure --prefix=/usr --libdir=/usr/lib32
|
||||
make
|
||||
make DESTDIR=$PWD/DESTDIR install
|
||||
|
||||
mkdir -p $PKG/usr/lib32
|
||||
cp -Rv DESTDIR/usr/lib32/* $PKG/usr/lib32
|
||||
}
|
||||
Reference in New Issue
Block a user