Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 52 lines (35 sloc) 978 Bytes
#!/usr/bin/env beesh
# BEE_VERSION bzip2-1.0.8-1
# SRCURL[0]="https://sourceware.org/pub/bzip2/bzip2-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/67e051268d0c475ea773822f7500d0e5/bzip2-1.0.8.tar.gz"
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_patch() {
bee_patch "${@}"
sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
}
#mee_configure() {
# bee_configure
#}
mee_build() {
make -f Makefile-libbz2_so
make clean
bee_build
}
mee_install() {
bee_install PREFIX=${D}${PREFIX}
mkdir -p ${D}${DATADIR}
mv ${D}${PREFIX}/man ${D}${DATADIR}
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 ${D}${LIBDIR}/libbz2.so.1
rm -v ${D}${BINDIR}/{bunzip2,bzcat,bzip2}
ln -sv bzip2 ${D}/bin/bunzip2
ln -sv bzip2 ${D}/bin/bzcat
}