mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
22 lines
463 B
Bash
Executable File
22 lines
463 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options $1
|
|
|
|
cd $PKG_BUILD
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--disable-asm \
|
|
--with-gnu-ld
|
|
|
|
make
|
|
$MAKEINSTALL
|
|
|
|
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i src/libgcrypt-config
|
|
|
|
cp src/libgcrypt-config $ROOT/$TOOLCHAIN/bin
|