diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-23 08:50:09 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-23 08:50:09 +0000 |
commit | 3243be768ad8a601b2636be4dd23dbb6c2d7dd9b (patch) | |
tree | cabb6414ea898fa0e0375aa4d0603861819d854c /300.bzip2.vars | |
parent | a0c044e739c6161692408ee2595870e184640f27 (diff) | |
download | midipix_build-3243be768ad8a601b2636be4dd23dbb6c2d7dd9b.tar.bz2 midipix_build-3243be768ad8a601b2636be4dd23dbb6c2d7dd9b.tar.xz |
- Adds and integrates pkgconf_host and pkgconf; fixes Irssi and other
packages that depend on pkg-config(1) and makes their build variables
significantly less hacky (apk_tools, irssi, nano, ncurses, ncursestw
ncursesw, and pacman.) pkgconf_host installs a ${TARGET}-pkg-config
wrapper script that passes --define-variable=prefix=${PREFIX_NATIVE}
when cross-compiling.
- Adds -i flag to insert a link to pkg.build for a new build script
and automatically rename build scripts with higher consecutive build
levels.
- Consistently quote [(1) operands correctly wherever necessary.
- Reorganise build level 3 script levels:
1) 300-319: library dependencies, ordered by dependencies and alphabetically,
2) 320-389: leaf packages, ordered alphabetically.
Diffstat (limited to '300.bzip2.vars')
-rw-r--r-- | 300.bzip2.vars | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/300.bzip2.vars b/300.bzip2.vars deleted file mode 100644 index 34a5b7eb..00000000 --- a/300.bzip2.vars +++ /dev/null @@ -1,27 +0,0 @@ -# -# . ./build.vars and set -o errexit are assumed. -# - -pkg_bzip2_install_post() { - set -- bzcmp bzegrep bzfgrep bzless; - while [ ${#} -gt 0 ]; do - [ -f ${PKG_PREFIX}/bin/${1} ] &&\ - ln -sf $(basename $(readlink ${PKG_PREFIX}/bin/${1}))\ - ${PKG_PREFIX}/bin/${1}; - shift; - done; - find . \( -name libbz2.so \ - -or -name libbz2.so.\[0-9\] \ - -or -name libbz2.so.\[0-9\].\[0-9\] \ - -or -name libbz2.so.\[0-9\].\[0-9\].\[0-9\] \) \ - -exec sh -c ' \ - if [ -L {} ]; then \ - echo ln -sf $(readlink {}) '"${PKG_PREFIX}"'/lib; \ - ln -sf $(readlink {}) '"${PKG_PREFIX}"'/lib; \ - else \ - echo install {} '"${PKG_PREFIX}"'/lib; \ - install {} '"${PKG_PREFIX}"'/lib; \ - fi' \;; -}; - -# vim:filetype=sh |