aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-owns
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:21:44 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:21:44 +0000
commitabe9ef3e15a61423f6cd385ae257a9b7e003930f (patch)
tree210a2bf7460eeff5c6c5d55a1cacee1faf089851 /contrib/kiss-owns
parent38e97d02a68e4f60ad8c78c58550eef4c53648fb (diff)
downloadcpt-abe9ef3e15a61423f6cd385ae257a9b7e003930f.tar.gz
kiss: Remove KISS_RM
I never really liked how this was implemented and it's rather limited in its use. It was cumbersome to edit the list to make even a minor change. Instead, I now recommend using 'KISS_HOOK'. It gives you total control. KISS_RM can be implemented on a per-package basis, for all packages overall or conditionally. You're also not limited to a simple list of removals. You can do whatever you like pre- and post- build. Here's an example script to get you started. There is more information in the manual and README. case $TYPE in pre-build) case $PKG in zlib) export CFLAGS="-Os -static" ;; curl) export CFLAGS="-O3" ;; esac ;; post-build) : "${DEST:?DEST is unset}" rm -rf "$DEST/usr/share/doc" rm -rf "$DEST/usr/share/gettext" ;; esac FossilOrigin-Name: ab2d04dbc4be059d1d5dd9a1758defb5205433a6a6a1fa941412b82583f7df7b
Diffstat (limited to 'contrib/kiss-owns')
0 files changed, 0 insertions, 0 deletions