void-packages/srcpkgs/gcc/libstdc++.template

27 lines
724 B
Plaintext
Raw Normal View History

# 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."
replaces="gcc-libstdc++>=0"
Add_dependency run glibc
2010-12-18 10:17:41 +01:00
Add_dependency run libgcc ">=${version}"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/locale/fr/LC_MESSAGES
mkdir -p ${DESTDIR}/usr/share/locale/de/LC_MESSAGES
mv ${SRCPKGDESTDIR}/usr/lib/libstdc++.so.* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/locale/fr/LC_MESSAGES/libstdc++.mo \
${DESTDIR}/usr/share/locale/fr/LC_MESSAGES
mv ${SRCPKGDESTDIR}/usr/share/locale/de/LC_MESSAGES/libstdc++.mo \
${DESTDIR}/usr/share/locale/de/LC_MESSAGES
}