|
|
emake "CC=$(tc-getCC)" ${MO} EXE="${EXE}" GD18LIBS="${GD18LIBS}" \ | emake "CC=$(tc-getCC)" ${MO} EXE="${EXE}" GD18LIBS="${GD18LIBS}" \ |
GD16LIBS="${GD16LIBS}" \ | GD16LIBS="${GD16LIBS}" \ |
PREFABS_DIR=/usr/share/ploticus/prefabs ploticus || die | PREFABS_DIR=/usr/share/ploticus/prefabs ploticus || die |
|
|
|
einfo "Compiling C API library" |
|
|
|
emake "CC=$(tc-getCC)" \ |
|
-f Makefile_api || die "API make failed!" |
} | } |
| |
src_test() { | src_test() { |
|
|
fi | fi |
emake DESTDIR=${D} EXE="${EXE}" install || die | emake DESTDIR=${D} EXE="${EXE}" install || die |
| |
|
dolib ${S}/src/libploticus.a |
|
|
PL_TARGET=/usr/share/${PN} | PL_TARGET=/usr/share/${PN} |
insinto ${PL_TARGET}/prefabs | insinto ${PL_TARGET}/prefabs |
doins ${S}/prefabs/* | doins ${S}/prefabs/* |