summaryrefslogtreecommitdiffhomepage
path: root/306.libz.build
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 /306.libz.build
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 '306.libz.build')
-rw-r--r--306.libz.build42
1 files changed, 0 insertions, 42 deletions
diff --git a/306.libz.build b/306.libz.build
deleted file mode 100644
index a1678bf4..00000000
--- a/306.libz.build
+++ /dev/null
@@ -1,42 +0,0 @@
-parse_with_pkg_name ${2} libz gzip;
-if is_build_script_done finished; then
- exit 212;
-else
- fetch ${PKG_URL} ${PKG_SHA256SUM};
-fi;
-if ! is_build_script_done extracted; then
- rm_if_exists ${PKG_FNAME%%.tar*};
- tar -axf ${PKG_FNAME};
- set_build_script_done extracted -configured;
-fi;
-if ! is_build_script_done configured; then
- set_build_dir ${PKG_FNAME%%-*} native;
- rm_if_exists -c -m ${BUILD_DIR};
- cp ../portage/config.cache .;
- ../${PKG_SUBDIR}/configure \
- --host=${HOST_NATIVE} \
- --prefix= \
- --target=${TARGET};
- set_build_script_done configured -built;
-else
- cd ${BUILD_DIR};
-fi;
-if ! is_build_script_done built; then
- if [ "x${2}" = "xlibz" ]; then
- make -j18;
- elif [ "x${2}" = "xgzip" ]; then
- make clean;
- make;
- fi;
- set_build_script_done built -installed;
-fi;
-if ! is_build_script_done installed; then
- if [ "x${2}" = "xlibz" ]; then
- make -j18 DESTDIR=${PREFIX_LVL} install;
- elif [ "x${2}" = "xgzip" ]; then
- cp gunzip gzip zcat ${PREFIX_LVL}/bin;
- fi;
- set_build_script_done installed finished;
-fi;
-
-# vim:filetype=sh