aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcsxr
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-06-20 06:29:18 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-20 06:29:18 +0000
commit3373889c02f883169118500ff752cca5a96feba3 (patch)
tree3499515d9c25cd292ce5607401d69ca42f96d56e /testing/pcsxr
parent30231cb7bc477434bb821458177c890011fb81f9 (diff)
downloadaports-3373889c02f883169118500ff752cca5a96feba3.tar.bz2
aports-3373889c02f883169118500ff752cca5a96feba3.tar.xz
testing/pcsxr: build fixes
Diffstat (limited to 'testing/pcsxr')
-rw-r--r--testing/pcsxr/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/pcsxr/APKBUILD b/testing/pcsxr/APKBUILD
index 596c2d2678..56b52846ef 100644
--- a/testing/pcsxr/APKBUILD
+++ b/testing/pcsxr/APKBUILD
@@ -2,21 +2,30 @@
# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=pcsxr
pkgver=1.9.92
-pkgrel=0
+pkgrel=1
pkgdesc="Sony PlayStation emulator"
url="https://pcsxr.codeplex.com/"
arch="all"
license="GPL3"
depends="libtxc_dxtn"
-makedepends="autoconf libglade-dev gtk+2.0-dev sdl-dev mesa-dev libxv-dev libxtst-dev nasm libxxf86vm-dev"
+makedepends="autoconf automake libglade-dev libtool gtk+2.0-dev sdl-dev mesa-dev
+ libxv-dev libxtst-dev nasm libxxf86vm-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://http.debian.net/debian/pool/main/p/pcsxr/pcsxr_1.9.92.orig.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
-build() {
+prepare() {
cd "$builddir"
+ default_prepare
./autogen.sh
+}
+
+build() {
+ cd "$builddir"
./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --target=$CTARGET \
--prefix=/usr \
--enable-opengl
make