gcc: add a new subpkg 'libssp'. Bumprev.

--HG--
extra : convert_revision : 9de993a00d9b8f085b7a60c198602de8e9ea3cf1
This commit is contained in:
Juan RP 2009-12-08 08:03:23 +01:00
parent b81419890a
commit 82103961b6
3 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,26 @@
# Template file for 'libssp'.
#
short_desc="GCC SSP library support"
long_desc="${long_desc}
This package contains the Stack Smashing Protection shared/static
libraries provided by GCC."
Add_dependency run glibc
do_install()
{
local triplet=
if [ "${xbps_machine}" = "x86_64" ]; then
triplet="${xbps_machine}-unknown-linux-gnu"
else
triplet="${xbps_machine}-pc-linux-gnu"
fi
mkdir -p ${DESTDIR}/usr/lib/gcc/${triplet}/${version}/include
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libssp* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/gcc/${triplet}/${version}/include/ssp \
${DESTDIR}/usr/lib/gcc/${triplet}/${version}/include
}

View file

@ -1,7 +1,7 @@
# Template build file for 'gcc'
pkgname=gcc
version=4.4.2
revision=2
revision=3
distfiles="http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-clocale=gnu --disable-bootstrap
@ -17,7 +17,7 @@ long_desc="
The GNU C Compiler suite, with support for C, C++, Fortran, ObjC."
base_chroot=yes
subpackages="libgcc libstdc++ libstdc++-devel libgomp libmudflap"
subpackages="libgcc libssp libstdc++ libstdc++-devel libgomp libmudflap"
subpackages="${subpackages} libmudflap-devel libobjc libobjc-devel"
subpackages="${subpackages} gcc-c++ gcc-objc gcc-objc++"
@ -26,6 +26,7 @@ Add_dependency full mpfr
Add_dependency full binutils
Add_dependency full cloog-ppl
Add_dependency run libgcc
Add_dependency run libssp
Add_dependency run libgomp
Add_dependency run glibc-devel

1
srcpkgs/libssp Symbolic link
View file

@ -0,0 +1 @@
gcc