wok-current diff gcc49-lib-base/receipt @ rev 17919
Up tazinst-gui (51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 12:55:24 2015 +0200 (2015-04-10) |
parents | |
children | daad21b281dd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gcc49-lib-base/receipt Fri Apr 10 12:55:24 2015 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gcc49-lib-base" 1.7 +VERSION="4.9.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." 1.10 +WEB_SITE="http://gcc.gnu.org/" 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +WANTED="gcc49" 1.14 +PROVIDES="gcc-lib-base" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib 1.20 + cp -a $install/usr/libgcc49/libgcc_s.so* $fs/usr/lib 1.21 + cp -a $install/usr/libgcc49/libstdc++.so* $fs/usr/lib 1.22 + rm -f $fs/usr/lib/*-gdb.py 1.23 +} 1.24 + 1.25 +post_remove() 1.26 +{ 1.27 + cd $1/usr/lib 1.28 + ln -s libstdc++.so.6.*.* libstdc++.so.6 1.29 + ln -s libstdc++.so.6.*.* libstdc++.so 1.30 + cd - >/dev/null 1.31 +}