Skip to content

Commit

Permalink
bsdiff: Fix/circumvent makefile
Browse files Browse the repository at this point in the history
The Makefile would be best rewritten from scratch.
(Maybe in the next release)
  • Loading branch information
thomas committed Nov 6, 2019
1 parent 18756b9 commit fa3474e
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions bsdiff.be0
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ SRCURL[0]="https://www.daemonology.net/bsdiff/bsdiff-${PKGVERSION}.tar.gz"
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
sed -e '/^\.ifndef/ s/^\.//' -e '/^\.endif/ s/^\.//' -i ${S}/Makefile
}

#mee_configure() {
# bee_configure
Expand All @@ -55,9 +55,16 @@ SRCURL[0]="https://www.daemonology.net/bsdiff/bsdiff-${PKGVERSION}.tar.gz"
# bee_build
#}

#mee_install() {
# bee_install
#}
mee_install() {
mkdir -vp ${D}/usr/bin
cp -v ${B}/bsdiff ${D}/usr/bin
cp -v ${B}/bspatch ${D}/usr/bin
chmod -v 755 ${D}/usr/bin/*
mkdir -vp ${D}/usr/share/man/man1
cp -v ${B}/bsdiff.1 ${D}/usr/share/man/man1
cp -v ${B}/bspatch.1 ${D}/usr/share/man/man1
chmod -v 644 ${D}/usr/share/man/man1/*
}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
Expand Down

0 comments on commit fa3474e

Please sign in to comment.