wok annotate gcc49-lib-base/receipt @ rev 19312

Add GNU EDMA Project.]
author Leonardo Laporte <hackdorte@sapo.pt>
date Tue Jul 12 03:16:09 2016 -0300 (2016-07-12)
parents daad21b281dd
children eb719d357888
rev   line source
pascal@17849 1 # SliTaz package receipt.
pascal@17849 2
pascal@17849 3 PACKAGE="gcc49-lib-base"
pascal@17849 4 VERSION="4.9.2"
pascal@17849 5 CATEGORY="development"
pascal@17849 6 SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
pascal@17849 7 WEB_SITE="http://gcc.gnu.org/"
pascal@17849 8 MAINTAINER="pankso@slitaz.org"
pascal@17849 9 LICENSE="GPL2"
pascal@17849 10 WANTED="gcc49"
pascal@18320 11 PROVIDE="gcc-lib-base"
pascal@17849 12
pascal@17849 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17849 14 genpkg_rules()
pascal@17849 15 {
pascal@17849 16 mkdir -p $fs/usr/lib
pascal@17849 17 cp -a $install/usr/libgcc49/libgcc_s.so* $fs/usr/lib
pascal@17849 18 cp -a $install/usr/libgcc49/libstdc++.so* $fs/usr/lib
pascal@17849 19 rm -f $fs/usr/lib/*-gdb.py
pascal@17849 20 }
pascal@17849 21
pascal@17849 22 post_remove()
pascal@17849 23 {
pascal@18730 24 cd "$1/usr/lib"
pascal@17849 25 ln -s libstdc++.so.6.*.* libstdc++.so.6
pascal@17849 26 ln -s libstdc++.so.6.*.* libstdc++.so
pascal@17849 27 cd - >/dev/null
pascal@17849 28 }