84222395b8
These new vars are DESTDIR (by default XBPS_DESTDIR/pkgname-version), SRCPKGDESTDIR (XBPS_DESTDIR/sourcepkg-version) and FILESDIR (XBPS_TEMPLATESDIR/pkgname/files). This simplifies packages that used them. --HG-- extra : convert_revision : 287ea7128cb5df19870ca7aff0a3b8f99a11d63a
21 lines
562 B
Plaintext
21 lines
562 B
Plaintext
# Template file for 'gcc-libstdc++-devel'.
|
|
#
|
|
short_desc="GCC Standard C++ Library (development files)"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains GCC Header files and libraries for
|
|
C++ development."
|
|
|
|
Add_dependency run gcc-libstdc++
|
|
|
|
do_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
mkdir -p ${DESTDIR}/usr/include
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libstdc++.*a ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libstdc++.so ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/libsupc++.* ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/include/c++ ${DESTDIR}/usr/include
|
|
}
|