Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 54 lines (40 sloc) 1.41 KB
#!/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
#}