diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -14,10 +14,32 @@ build: install: build oh-autoinstall -- PREFIX="$${PWD}/dest" - install -d dest/usr/lib/ dest/usr/share/ + install -d dest/usr/bin/ dest/usr/lib/ dest/usr/share/ + # /usr/bin/bzip2 and links (bunzip2 and bzcat): + mv dest/bin/bzip2 dest/usr/bin/ + rm dest/bin/bunzip2 dest/bin/bzcat + ln -sf bzip2 dest/usr/bin/bunzip2 + ln -sf bzip2 dest/usr/bin/bzcat + # /usr/bin/bzip2recover: + mv dest/bin/bzip2recover dest/usr/bin/ + # /usr/bin/bzgrep and links (bzegrep and bzfgrep): + mv dest/bin/bzgrep dest/usr/bin/ + rm dest/bin/bzegrep dest/bin/bzfgrep + ln -sf bzgrep dest/usr/bin/bzegrep + ln -sf bzgrep dest/usr/bin/bzfgrep + # /usr/bin/bzmore and links (bzless): + mv dest/bin/bzmore dest/usr/bin/ + rm dest/bin/bzless + ln -sf bzmore dest/usr/bin/bzless + # /usr/bin/bzdiff and links (bzcmp): + mv dest/bin/bzdiff dest/usr/bin/ + rm dest/bin/bzcmp + ln -sf bzdiff dest/usr/bin/bzcmp + # Library, development, and documentation files: mv dest/lib/ dest/usr/lib/$(OPK_HOST_ARCH)/ mv dest/include/ dest/usr/include/ mv dest/man/ dest/usr/share/ + # Library links: ln -sf libbz2.$(OPK_SOURCE_VERSION_UPSTREAM) \ dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so.1.0 ln -sf libbz2.so.1.0 dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.so |