Split pkgs required by xbps-base-chroot, as it was made in Fedora.
- Added an additional shell func to add full (build/run), build or run time dependencies to packages. An optional third parameter can be used to specify other version than the one set in the depends file. - Use a "depends" file in package directory to specify minimum required ABI/API version for a package, so that there's no need to set the version all the time in pkgs. - Updated bash to 4.0. --HG-- extra : convert_revision : 1aa0ce32d4bdc2cd371eac19ae7bcff2c986b6b3
This commit is contained in:
26
templates/gcc/libstdc++.template
Normal file
26
templates/gcc/libstdc++.template
Normal file
@@ -0,0 +1,26 @@
|
||||
# Template file for 'gcc-libstdc++'.
|
||||
#
|
||||
short_desc="GCC Standard C++ Library"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains a rewritten standard compliant GCC Standard
|
||||
C++ library."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run gcc-libgcc
|
||||
|
||||
do_install()
|
||||
{
|
||||
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
||||
|
||||
mkdir -p ${destdir}/usr/lib
|
||||
mkdir -p ${destdir}/usr/share/locale/fr/LC_MESSAGES
|
||||
mkdir -p ${destdir}/usr/share/locale/de/LC_MESSAGES
|
||||
|
||||
mv ${origdir}/usr/lib/libstdc++.so.* ${destdir}/usr/lib
|
||||
mv ${origdir}/usr/share/locale/fr/LC_MESSAGES/libstdc++.mo \
|
||||
${destdir}/usr/share/locale/fr/LC_MESSAGES
|
||||
mv ${origdir}/usr/share/locale/de/LC_MESSAGES/libstdc++.mo \
|
||||
${destdir}/usr/share/locale/de/LC_MESSAGES
|
||||
}
|
||||
Reference in New Issue
Block a user