Skip to content

Commit

Permalink
Merge pull request #1709 from mariux64/update-lpsolve-5525
Browse files Browse the repository at this point in the history
lpsolve: update to 5.5.2.5
  • Loading branch information
wwwutz authored Feb 19, 2020
2 parents cd16987 + f5b439c commit eab0f75
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 97 deletions.
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
#}

0 comments on commit eab0f75

Please sign in to comment.