diff options
author | davidovski <david@davidovski.xyz> | 2021-10-06 17:18:43 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-06 17:18:43 +0100 |
commit | c25b6890891c7ef34e129c8c54efdf2993234aa0 (patch) | |
tree | efce372f0cfbcdb2e4285ef65191cbbf1e3146e1 /xibuilds/bzip2.xibuild | |
parent | d4cb1386d79c95e7586e7bccad5b0f6c7861cfe8 (diff) |
moved xibuilds to another repo
Diffstat (limited to 'xibuilds/bzip2.xibuild')
-rw-r--r-- | xibuilds/bzip2.xibuild | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/xibuilds/bzip2.xibuild b/xibuilds/bzip2.xibuild deleted file mode 100644 index d674a5d..0000000 --- a/xibuilds/bzip2.xibuild +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -DEPS=(glibc sh) - -SOURCE=git://sourceware.org/git/bzip2.git -DESC="a selection of programs for compressing and decompressing bzip2 files" - - -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 -} - |