1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
[DEFAULT]
uid = tuxpaint
summary = Drawing program designed for young children
license = GPLv2
homepage = http://www.tuxpaint.org/
[Service]
requires = %(uid)s/binary
main = tuxpaint
binding = TUXPAINT_DATA_PREFIX share/tuxpaint
TUXPAINT_LOCALEDIR share/locale
exclude = bin/*, lib/*
machine = *
[Service/binary]
requires = libpaper, librsvg, cairo, fribidi
sdl, sdl-image, sdl-mixer, sdl-ttf, sdl-pango
env, ds, shell
binding = PATH bin
TUXPAINT_MAGIC_PREFIX lib/tuxpaint/plugins
include = bin/*, lib/*
machine = build
[Build]
requires = libpaper/devel, librsvg/devel, cairo/devel, fribidi/devel, sdl/devel
sdl-image/devel, sdl-mixer/devel, sdl-ttf/devel, sdl-pango/devel
env/devel, ds/devel, shell/devel
pkgconfig, make, gcc-c
exec = cp -r "$SRCDIR"/* . &&
make PREFIX=/ SUGAR=1 OPTFLAGS="%(cflags)s -I$PAPER_PATH/include"
PAPER_LIB="-L$PAPER_PATH/lib -lpaper" &&
make PREFIX=/ SUGAR=1 DESTDIR="$DISTDIR" install
[Maintain]
exec = rm -rf build; make release && mv build/*.tar.* .
|