Skip to content

lpsolve: update to 5.5.2.5 #1709

Merged
merged 1 commit into from
Feb 19, 2020
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
97 changes: 0 additions & 97 deletions lpsolve-5.5.2.0-0.bee

This file was deleted.

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

# BEE_VERSION lpsolve-5.5.2.5-0

# more info: https://foo.bar.com

# SRCURL[0]="https://downloads.sourceforge.net/project/lpsolve/lpsolve/${PKGVERSION}/lp_solve_${PKGVERSION}_source.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/3be57261fc41dd8e210f54017220d5f7/lp_solve_5.5.2.5_source.tar.gz"

# PATCHURL+=("https://git.archlinux.org/svntogit/packages.git/plain/trunk/cflags.patch?h=packages/lpsolve cflags.patch")
PATCHURL+=("https://beehive.molgen.mpg.de/7403f745d06619f59f52800b655d8751/cflags.patch")

# PATCHURL+=("https://git.archlinux.org/svntogit/packages.git/plain/trunk/lpsolve-5.5.2.0.defines.patch?h=packages/lpsolve lpsolve-5.5.2.0.defines.patch")
PATCHURL+=("https://beehive.molgen.mpg.de/cb138e768ad1f8fce75c9989669dc402/lpsolve-5.5.2.0.defines.patch")

build_in_sourcedir

# sourcesubdir_append src

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

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

#mee_configure() {
# bee_configure
#}

mee_build() {
cd lpsolve55
sh -x ccc
rm -v bin/ux*/liblpsolve55.a
cd -
cd lp_solve
sh -x ccc
cd -
}

mee_install() {
mkdir -vp ${D}${BINDIR}
mkdir -vp ${D}${LIBDIR}
mkdir -vp ${D}${INCLUDEDIR}/lpsolve

install -vp -m 755 lp_solve/bin/ux*/lp_solve ${D}${BINDIR}
install -vp -m 755 lpsolve55/bin/ux*/liblpsolve55.so ${D}${LIBDIR}
install -vp -m 644 lp*.h ${D}${INCLUDEDIR}/lpsolve
}

#mee_install() {
# bee_install
#}