wok-current annotate gcc49-lib-base/receipt @ rev 17849
Add gcc49-lib-base
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 24 17:40:10 2015 +0100 (2015-03-24) |
parents | |
children | daad21b281dd |
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@17849 | 11 PROVIDES="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@17849 | 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 } |