summaryrefslogtreecommitdiffstats
path: root/sdl_gfx/Pkgfile
blob: 72f36145d08493002a2ec6231c1b6d3631e94808 (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.22
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
}