wok-6.x diff gcc61-lib-base/receipt @ rev 19365

bwm-ng: add bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 03 14:21:25 2016 +0200 (2016-08-03)
parents
children eb719d357888
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gcc61-lib-base/receipt	Wed Aug 03 14:21:25 2016 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gcc61-lib-base"
     1.7 +VERSION="6.1.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="gcc61"
    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/libgcc61/libgcc_s.so* $fs/usr/lib
    1.21 +	cp -a $install/usr/libgcc61/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 +}