binutils, gawk, gcc: add missing base subpkg.

--HG--
extra : convert_revision : e65fc368499c6124b1cf7963d830f64c05953b6c
This commit is contained in:
Juan RP 2009-02-20 18:09:54 +01:00
parent 733c889185
commit b063ab2b54
10 changed files with 69 additions and 10 deletions

1
templates/binutils-base Symbolic link
View file

@ -0,0 +1 @@
binutils

View file

@ -0,0 +1,19 @@
# Template file for 'binutils-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base programs and libraries."
run_depends="glibc-2.8"
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/lib/libbfd-${version}.so ${destdir}/usr/lib
mv ${origdir}/usr/lib/libopcodes-${version}.so ${destdir}/usr/lib
mv ${origdir}/usr/lib/ldscripts ${destdir}/usr/lib
}

View file

@ -25,5 +25,4 @@ long_desc="
and other tools."
base_chroot=yes
run_depends="glibc-2.8"
subpackages="dev docs locale"
subpackages="base dev docs locale"

1
templates/gawk-base Symbolic link
View file

@ -0,0 +1 @@
gawk

View file

@ -0,0 +1,21 @@
# Template file for 'gawk-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base files."
run_depends="glibc-2.8"
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mkdir -p ${destdir}/usr/share
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/libexec ${destdir}/usr
mv ${origdir}/usr/share/awk ${destdir}/usr/share
mv ${origdir}/usr/share/man ${destdir}/usr/share
mv ${origdir}/usr/share/info ${destdir}/usr/share
}

View file

@ -12,5 +12,4 @@ long_desc="
The GNU AWK utility, a pattern scanning and processing tool."
base_chroot=yes
run_depends="glibc-2.8"
subpackages="locale"
subpackages="base locale"

1
templates/gcc-base Symbolic link
View file

@ -0,0 +1 @@
gcc

View file

@ -0,0 +1,21 @@
# Template file for 'gcc-base'.
#
short_desc="${short_desc} (base files)"
long_desc="${long_desc}
This package contains the ${sourcepkg} base programs and libraries."
run_depends="glibc-2.8 gmp-libs-4.2.4 mpfr-libs-2.3.2 binutils-2.18"
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu
mv ${origdir}/usr/bin ${destdir}/usr
mv ${origdir}/usr/libexec ${destdir}/usr
mv ${origdir}/usr/lib/lib*.so.* ${destdir}/usr/lib
mv ${origdir}/usr/lib/lib*.spec ${destdir}/usr/lib
mv ${origdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu/${version} \
${destdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu
}

View file

@ -4,18 +4,16 @@ short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
run_depends="gcc-libs-${version}"
run_depends="gcc-base-${version}"
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu/${version}
mkdir -p ${destdir}/usr/lib
mv ${origdir}/usr/include ${destdir}/usr
mv ${origdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu/${version}/include \
${destdir}/usr/lib/gcc/${xbps_machine}-pc-linux-gnu/${version}
for f in mudflap mudflapth ssp_nonshared supc++ ssp stdc++ \
objc gomp gcc_s; do

View file

@ -20,8 +20,7 @@ long_desc="
base_chroot=yes
build_depends="gmp-4.2.4 mpfr-2.3.2 binutils-2.18"
run_depends="glibc-2.8 gmp-libs-4.2.4 mpfr-libs-2.3.2 binutils-2.18"
subpackages="dev docs locale"
subpackages="base dev docs locale"
# As specified in the LFS book, disable installing libiberty.
pre_configure()