diff options
author | davidovski <david@davidovski.xyz> | 2021-10-05 16:35:17 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-05 16:35:17 +0100 |
commit | cdea2f67ae42d4220e19a555259b69a960925283 (patch) | |
tree | b1cc697e6e0203b3ce02e15b8baa4f73f84e34c8 /psibuilds/bzip2.psibuild | |
parent | 16e799786f34721e646e14a2b7e7ab3816137f1a (diff) |
renamed
Diffstat (limited to 'psibuilds/bzip2.psibuild')
-rw-r--r-- | psibuilds/bzip2.psibuild | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/psibuilds/bzip2.psibuild b/psibuilds/bzip2.psibuild deleted file mode 100644 index 726f0f7..0000000 --- a/psibuilds/bzip2.psibuild +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=git://sourceware.org/git/bzip2.git - - -build () { - - # ensure symbolic links are relative - sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile - - make -f Makefile-libbz2_so - make clean - - make - - make PREFIX=$PKG_DEST/usr install - -} - -package () { - cp -av libbz2.so* $PKG_DEST/usr/lib - cp -av libbz2.so.1.0.8 $PKG_DEST/usr/lib/libbz2.so - - cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 - for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do - cp -afv bzip2 $i - done - - # remove a useless static library - cp -v bzip2-shared $PKG_DEST/usr/bin/bzip2 - for i in $PKG_DEST/usr/bin/{bzcat,bunzip2}; do - ln -sfv bzip2 $i - done -} - |