# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/bzip2/bzip2.conf # Copyright (C) 2004 - 2022 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- var_append makeopt ' ' "AR=$AR RANLIB=$RANLIB" var_append makeinstopt ' ' "LIBDIR=${libdir##*/}" if [ "$SDECFG_STATIC" != 1 -a "$SDECFG_DIETLIBC_bzip2" != 1 ]; then hook_add inmake 5 "$MAKE $makeopt -f Makefile-libbz2_so" hook_add postmake 5 "install libbz2.so.?.?.* $root$libdir" hook_add postmake 5 "cp -arv libbz2.so.?.? $root$libdir" fi # translate some stuff from usr/bin to just bin/ ... var_append INSTALL_WRAPPER_FILTER "|" \ "sed -e 's,usr/bin/\(bunzip2\|bzcat\|bzip2\)$,bin/\1,'" hook_add postmake 5 "cp -v manual* bzip2.txt $root$docdir"