diff --git a/bzip2.be0 b/bzip2.be0 index ab5801c7a..ff39d99a9 100755 --- a/bzip2.be0 +++ b/bzip2.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION bzip2-1.0.6-4 +# BEE_VERSION bzip2-1.0.7-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -9,7 +9,7 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="http://www.bzip.org/${PKGVERSION}/bzip2-${PKGVERSION}.tar.gz" +SRCURL[0]="https://sourceware.org/pub/bzip2/bzip2-${PKGVERSION}.tar.gz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array. @@ -55,7 +55,7 @@ mee_patch() { } #mee_configure() { -# bee_configure +# bee_configure #} mee_build() { @@ -70,19 +70,19 @@ mee_install() { mkdir -p ${D}${DATADIR} mv ${D}${PREFIX}/man ${D}${DATADIR} - cp -v bzip2-shared ${D}${BINDIR}/bzip2 - + mkdir ${D}/bin + cp -v bzip2-shared ${D}/bin/bzip2 + cp -av libbz2.so* ${D}${LIBDIR} - + ln -sv libbz2.so.1.0 ${D}${LIBDIR}/libbz2.so - - ln -sv libbz2.so.1.0.6 ${D}${LIBDIR}/libbz2.so.1 - - rm -v ${D}${BINDIR}/{bunzip2,bzcat} - - ln -sv bzip2 ${D}${BINDIR}/bunzip2 - ln -sv bzip2 ${D}${BINDIR}/bzcat + ln -sv libbz2.so.1.0 ${D}${LIBDIR}/libbz2.so.1 + + rm -v ${D}${BINDIR}/{bunzip2,bzcat,bzip2} + + ln -sv bzip2 ${D}/bin/bunzip2 + ln -sv bzip2 ${D}/bin/bzcat } ## by default this may be 'make install DESTDIR="${D}"'