blob: a5318566b42b1fa284dc1fe3c91d217ee9e05fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
NAME="sdl2-gfx"
DESC="SDL2 graphics drawing primitives and other support functions"
MAKEDEPS=" sdl2"
PKG_VER=19.0.1
SOURCE="http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-$PKG_VER.tar.gz"
build() {
./configure --prefix=/usr --disable-mmx
make
}
package() {
make DESTDIR="$PKG_DEST" install
mkdir -p "$PKG_DEST/usr/share/doc/sdl2-gfx"
for f in Docs/html/*; do
install -Dm644 $f "$PKG_DEST/usr/share/doc/sdl2-gfx"
done
}
|