diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-13 07:44:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-13 07:44:51 +0000 |
commit | a871b8a7249a894b53416e4c4f481c8e18d851a5 (patch) | |
tree | dab161e771df51d0e5e64a0f52c2bf1513faef9f /testing/mednafen | |
parent | 34ee36a1db91390886e2cd27d991f6770dbd6cfc (diff) | |
download | aports-a871b8a7249a894b53416e4c4f481c8e18d851a5.tar.bz2 aports-a871b8a7249a894b53416e4c4f481c8e18d851a5.tar.xz |
testing/mednafen: split out -lang
Diffstat (limited to 'testing/mednafen')
-rw-r--r-- | testing/mednafen/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/mednafen/APKBUILD b/testing/mednafen/APKBUILD index 7bd83b1abe..367605758a 100644 --- a/testing/mednafen/APKBUILD +++ b/testing/mednafen/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: August Klein <amatcoder@gmail.com> pkgname=mednafen pkgver=0.9.36.5 -pkgrel=0 +pkgrel=1 pkgdesc="A command-line multi-system emulator" url="http://mednafen.sourceforge.net" arch="all" @@ -11,7 +11,7 @@ depends="" depends_dev="alsa-lib-dev libcdio-dev libsndfile-dev sdl-dev zlib-dev" makedepends="$depends_dev mesa-dev glu-dev paxctl" install="" -subpackages="" +subpackages="$pkgname-lang" source="https://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 01-fix_help.patch 02-sdl_by_default.patch" @@ -20,6 +20,7 @@ _builddir="$srcdir"/$pkgname prepare() { local i cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -29,7 +30,10 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr || return 1 make || return 1 } |