summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxantares2015-06-08 23:16:59 +0200
committerxantares2015-06-08 23:16:59 +0200
commitac6c260764fa18c2191236bd8614d823ca0d503b (patch)
treea7305436809f57aa54994abc22b41f5fb6bb46bc
downloadaur-ac6c260764fa18c2191236bd8614d823ca0d503b.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..37d225838d7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = psp-libvorbis
+ pkgdesc = Vorbis codec library (psp)
+ pkgver = 1.1.1
+ pkgrel = 1
+ url = http://www.xiph.org/vorbis/
+ arch = any
+ groups = psp
+ license = BSD
+ makedepends = psp-gcc
+ depends = psp-sdk
+ options = !buildflags
+ options = !strip
+ options = staticlibs
+ source = git+https://github.com/pspdev/psp-ports.git
+ md5sums = SKIP
+
+pkgname = psp-libvorbis
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7ae9d222413
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: xantares <xantares09 at hotmail dot com>
+
+pkgname=psp-libvorbis
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="Vorbis codec library (psp)"
+arch=(any)
+url="http://www.xiph.org/vorbis/"
+license=('BSD')
+groups=('psp')
+depends=('psp-sdk')
+makedepends=('psp-gcc')
+options=('!buildflags' '!strip' 'staticlibs')
+source=("git+https://github.com/pspdev/psp-ports.git")
+md5sums=('SKIP')
+
+
+build()
+{
+ cd "$srcdir/psp-ports/libvorbis"
+ sh autogen.sh
+ make distclean # autogen calls configure
+ export LDFLAGS="-L$(psp-config --pspsdk-path)/lib -L$(psp-config --psp-prefix)/lib -lc -lpspuser"
+ export LIBS="-lc -lpspuser"
+ mkdir -p build-psp && pushd build-psp
+ ../configure --prefix=/usr/psp --host=psp
+ make
+}
+
+package()
+{
+ cd "$srcdir/psp-ports/libvorbis/build-psp"
+ make install DESTDIR="$pkgdir"
+}
+