From 3243be768ad8a601b2636be4dd23dbb6c2d7dd9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Thu, 23 Jun 2016 08:50:09 +0000 Subject: - 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. --- 300.bzip2.vars | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 300.bzip2.vars (limited to '300.bzip2.vars') 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 -- cgit v1.2.3