mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
27 lines
468 B
Bash
Executable File
27 lines
468 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build Python
|
|
|
|
. config/options.python
|
|
|
|
cd $PKG_BUILD
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-static \
|
|
--enable-shared \
|
|
|
|
make
|
|
|
|
$PYTHON setup.py install --prefix /usr --root .install
|
|
|
|
find .install -name "*.py" -exec rm -rf "{}" ";"
|
|
|
|
rm -rf .install/usr/share
|
|
rm -rf .install/usr/bin
|