Skip to content

dar: update from 2.4.11 to 2.6.5 #1242

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 0 additions & 88 deletions dar-2.4.11-2.bee

This file was deleted.

39 changes: 39 additions & 0 deletions dar.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env beesh

# BEE_VERSION dar-2.6.5-0

SRCURL[0]="https://downloads.sourceforge.net/dar/dar/${PKGVERSION}/dar-${PKGVERSION}.tar.gz"

# PATCHURL+=()

build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
bee_configure \
--disable-build-html
}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

mee_install_post() {
rm -vfr ${D}/usr/share/dar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PREFIX should be used again instead of hard-coding paths, as bee allows to change the prefix.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DATADIR even.

$ bee --print-config
[…]
PREFIX=/usr
EPREFIX=${PREFIX}
BINDIR=${EPREFIX}/bin
SBINDIR=${EPREFIX}/sbin
LIBEXECDIR=${EPREFIX}/libexec
SYSCONFDIR=DEFAULT
LOCALSTATEDIR=DEFAULT
SHAREDSTATEDIR=${LOCALSTATEDIR}
LIBDIR=${EPREFIX}/lib
INCLUDEDIR=${PREFIX}/include
DATAROOTDIR=${PREFIX}/share
DATADIR=${DATAROOTDIR}
INFODIR=${DATAROOTDIR}/info
MANDIR=${DATAROOTDIR}/man
DOCDIR=${DATAROOTDIR}/doc/${PKGNAME}
LOCALEDIR=${DATAROOTDIR}/locale

rm -vfr ${D}/usr/include/dar
rm -vf ${D}/usr/lib/libdar64.a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LIBDIR for this..

rm -vf ${D}/usr/lib/pkgconfig/libdar64.pc
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the pkg-config file? Please add a comment.

}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your editor seems to strip proper line endings (or not add them).