38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
#########################################################################
|
|
# BUILD CONFIGURE
|
|
BUILD_CONFIGURE="\
|
|
../configure --{build,host}=${CHOST} \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/sbin \
|
|
--libdir=/usr/lib64 \
|
|
--infodir=/usr/share/info \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}"
|
|
|
|
CONFIGURE="\
|
|
./configure --{build,host}=${CHOST} \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/sbin \
|
|
--libdir=/usr/lib64 \
|
|
--infodir=/usr/share/info \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}"
|
|
|
|
#########################################################################
|
|
# PICK
|
|
_pick() {
|
|
local p=${1} f d; shift
|
|
for f; do
|
|
d=${srcdir}/${p}/${f#${pkgdir}/}
|
|
mkdir -p $(dirname ${d})
|
|
mv ${f} ${d}
|
|
rmdir -p --ignore-fail-on-non-empty $(dirname ${f})
|
|
done
|
|
}
|