wok diff gcc63-lib-base/receipt @ rev 19796

file: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 23 15:12:51 2017 +0100 (2017-02-23)
parents
children eb719d357888
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcc63-lib-base/receipt	Thu Feb 23 15:12:51 2017 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gcc63-lib-base"
     1.7 +VERSION="6.3.0"
     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="gcc63"
    1.14 +PROVIDE="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/libgcc63/libgcc_s.so* $fs/usr/lib
    1.21 +	cp -a $install/usr/libgcc63/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 +}