summaryrefslogtreecommitdiffhomepage
path: root/003.psxstub.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-12 12:43:29 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-12 16:10:21 +0100
commit1d0876af1f6b526a930d39d9b6a3e053d218e981 (patch)
treec732473dd87dfcb5ec93f3a4354d528cdabe4bec /003.psxstub.vars
parentf16d357f6f9528a4fac2e14f7b882f5a455faea2 (diff)
downloadmidipix_build-1d0876af1f6b526a930d39d9b6a3e053d218e981.tar.bz2
midipix_build-1d0876af1f6b526a930d39d9b6a3e053d218e981.tar.xz
- Major cleanup in general.
- Added --{build-{scripts,steps},help,tarball}. Variables can now be overriden on the command-line. - Integrated bzip2, dash, less, ncurses, popt, rsync, tar, util-linux, which, and xz; as there are no patches in portage/ for util-linux just yet, this presently requires integrated local patches. Git is included in build.vars only as it requires OpenSSL. - Include ntapi.local.patch and psxscl.local.patch in the repository.
Diffstat (limited to '003.psxstub.vars')
-rw-r--r--003.psxstub.vars16
1 files changed, 16 insertions, 0 deletions
diff --git a/003.psxstub.vars b/003.psxstub.vars
new file mode 100644
index 00000000..4683b7ab
--- /dev/null
+++ b/003.psxstub.vars
@@ -0,0 +1,16 @@
+#
+# . ./build.vars and set -o errexit are assumed.
+#
+
+pkg_psxstub_finish() {
+ if ! is_build_script_done install; then
+ if [ "x${TARGET}" = "xi686-nt32-midipix" ]\
+ || [ "x${TARGET}" = "xx86_64-nt64-midipix" ]; then
+ cd psxstub;
+ make ${MAKEFLAGS} DESTDIR=${PREFIX_LVL} TARGET=${TARGET} install;
+ set_build_script_done install finish;
+ fi;
+ fi;
+};
+
+# vim:filetype=sh