diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/build.linux | 37 | ||||
-rw-r--r-- | package/pkginfo.manifest | 15 |
2 files changed, 52 insertions, 0 deletions
diff --git a/package/build.linux b/package/build.linux new file mode 100755 index 0000000..061dad7 --- /dev/null +++ b/package/build.linux @@ -0,0 +1,37 @@ +#!/bin/sh -xe +# clean +clean() +{ + make clean + rm -rf $SRCDIR/*.zip + rm -rf $SRCDIR/*.tar.gz +} + +# build +build() +{ + make bios +} + +# install +install() +{ + echo "$BUILD_TARGET_OS" + if [ "$BUILD_TARGET_OS" = "linux" ] + then + BIN_DIR=$SRCDIR/package/vgabios.package.linux/data + else + BIN_DIR=$SRCDIR/package/vgabios.package.windows/data + fi + BIOS_DIR=$BIN_DIR/Emulator/x86/data/pc-bios + + cd $SRCDIR + mkdir -p $BIOS_DIR + cp VGABIOS-lgpl-latest.bin $BIOS_DIR/vgabios-tizenvga.bin +} + +[ "$1" = "clean" ] && clean +[ "$1" = "build" ] && build +[ "$1" = "install" ] && install + +echo "success" diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest new file mode 100644 index 0000000..1a2791a --- /dev/null +++ b/package/pkginfo.manifest @@ -0,0 +1,15 @@ +Package: vgabios +Version: 1.1.3 +OS: linux +Build-host-os: linux +Maintainer: Yeong-Kyoon, Lee <yeongkyoon.lee@samsung.com> +Source: vgabios +Description: VGA bios for Tizen emulator + +Package: vgabios +Version: 1.1.3 +OS: windows +Build-host-os: linux +Maintainer: Yeong-Kyoon, Lee <yeongkyoon.lee@samsung.com> +Source: vgabios +Description: VGA bios for Tizen emulator |