mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added extra/sdl_gfx
This commit is contained in:
parent
c5d77523d5
commit
6a6790d6c0
1 changed files with 37 additions and 0 deletions
37
extra/sdl_gfx/PKGBUILD
Normal file
37
extra/sdl_gfx/PKGBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# $Id: PKGBUILD 144350 2011-12-04 22:59:47Z heftig $
|
||||
# Maintainer: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - need --disable-mmx for ARM as well
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=sdl_gfx
|
||||
pkgver=2.0.23
|
||||
pkgrel=1
|
||||
pkgdesc="SDL Graphic Primitives"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL')
|
||||
options=(!libtool)
|
||||
url="http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"
|
||||
source=(http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
|
||||
depends=('sdl')
|
||||
md5sums=('fcc3c4f2d1b4943409bf7e67dd65d03a')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/SDL_gfx-${pkgver}
|
||||
|
||||
if [ "${CARCH}" == "x86_64" -o "${CARCH}" == "arm" -o "${CARCH}" == "armv7h" ]; then
|
||||
./configure --prefix=/usr --disable-mmx
|
||||
else
|
||||
./configure --prefix=/usr
|
||||
fi
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/SDL_gfx-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
Loading…
Reference in a new issue