#!/usr/bin/make -f nop: @: build: oh-autobuild if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \ oh-autotest; \ fi touch $@ install: build oh-autoinstall -- PREFIX="$${PWD}/dest" 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/bzip2.bzip2 rm dest/bin/bunzip2 dest/bin/bzcat ln -sf bzip2.bzip2 dest/usr/bin/bunzip2.bzip2 ln -sf bzip2.bzip2 dest/usr/bin/bzcat.bzip2 # /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.so.$(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 rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libbz2.a oh-fixperms oh-strip oh-installfiles oh-shlibdeps