Created
October 30, 2014 16:12
-
-
Save samoturk/4af7b0695c9b9bb937bc to your computer and use it in GitHub Desktop.
RDKit release 2014_09_1 Arch Linux PKGBUILD python3
This file contains hidden or 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
| # Maintainer: Samo Turk <[email protected]> | |
| pkgname=rdkit | |
| _pkgname=RDKit | |
| pkgver=2014_09_1 | |
| pkgrel=1 | |
| pkgdesc="RDKit - A collection of cheminformatics and machine-learning software written in C++ and Python." | |
| arch=("i686" "x86_64") | |
| url="http://rdkit.org/" | |
| license=('New BSD License') | |
| depends=( 'bison' 'boost' 'boost-libs' 'cmake' 'flex' 'python' 'python-numpy' 'sqlite3' ) | |
| source=(https://github.com/rdkit/rdkit/archive/Release_${pkgver}.tar.gz ) | |
| md5sums=('901b60a2591c765f3f65aee11fa1c88d') | |
| provides=('rdkit') | |
| build() { | |
| cd ${srcdir} | |
| mkdir build | |
| cd build | |
| cmake ../${pkgname}-Release_${pkgver} \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DRDK_INSTALL_INTREE=0 \ | |
| -DCMAKE_INSTALL_PREFIX=/usr \ | |
| -DPYTHON_LIBRARY=/usr/lib/python3.4/config-3.4m/libpython3.4m.so \ | |
| -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m/ \ | |
| -DPYTHON_EXECUTABLE=/usr/bin/python3 \ | |
| -DPYTHON_NUMPY_INCLUDE_PATH=/usr/lib/python3.4/site-packages/numpy/core/include/ | |
| make | |
| } | |
| package() { | |
| cd ${srcdir}/build | |
| make DESTDIR=${pkgdir} install | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment