-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1709 from mariux64/update-lpsolve-5525
lpsolve: update to 5.5.2.5
- Loading branch information
Showing
2 changed files
with
54 additions
and
97 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
#} |