Commit a871b8a7 authored by Natanael Copa's avatar Natanael Copa

testing/mednafen: split out -lang

parent 34ee36a1
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment