Skip to content
Permalink
0af09a4ae7
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 50 lines (33 sloc) 884 Bytes
#!/usr/bin/env beesh
SRCURL[0]="http://downloads.sourceforge.net/project/pymol/pymol/${PKGVERSION}/pymol-v${PKGVERSION}.tar.bz2"
PATCHURL[0]=""
# BEE_CONFIGURE=compat
BEE_BUILDTYPE=python-module
# EXCLUDE=""
build_in_sourcedir
#mee_extract() {
# bee_extract ${@}
#}
mee_patch() {
bee_patch ${@}
cp modules/cealign/src/ce_types.h layer3/
}
#mee_configure() {
# bee_configure
#}
#mee_build() {
# bee_build
#}
mee_install() {
bee_install
mkdir -p ${D}${BINDIR}
PYTHON=$(which python)
PYPATH=$(${PYTHON} -c 'import sys; print sys.prefix + "/lib/python" + sys.version[0:3] + "/site-packages"')
PYTHONPATH=${D}${PYPATH} start_cmd ${PYTHON} setup2.py install --root=${D} "$@"
mkdir -p ${D}${BINDIR}
cat >${D}${BINDIR}/pymol <<-EOF
#!/bin/bash
${PYTHON} ${PYPATH}/pymol/__init__.py \$@
EOF
chmod 755 ${D}${BINDIR}/pymol
}