summaryrefslogtreecommitdiffstats
path: root/sdl_gfx/Pkgfile
blob: 643793b9a78c4b47f9881771099a2ec4ca13d6b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: SDL Graphic Primitives
# URL: http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
# Maintainer: piernov <piernov@piernov.org>
# Packager: piernov <piernov@piernov.org>
# Depends on: sdl
# Run on: sdl

name=sdl_gfx
version=2.0.23
release=1
source=(http://www.ferzkopp.net/Software/SDL_gfx-${version%.*}/SDL_gfx-$version.tar.gz)

build() {
	cd SDL_gfx-$version
	if [ "${CARCH}" == "x86_64" ]; then
		./configure --prefix=/usr --disable-mmx
	else
		./configure --prefix=/usr
	fi
	make
	make DESTDIR=$PKG install
}