wok-6.x view gcc61-lib-base/receipt @ rev 19328

Add: gcc54 (5.4.0), gcc61 (6.1.0)
author Alexander Medvedev <devl547@gmail.com>
date Thu Jul 14 20:51:08 2016 +0000 (2016-07-14)
parents
children eb719d357888
line source
1 # SliTaz package receipt.
3 PACKAGE="gcc61-lib-base"
4 VERSION="6.1.0"
5 CATEGORY="development"
6 SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
7 WEB_SITE="http://gcc.gnu.org/"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WANTED="gcc61"
11 PROVIDE="gcc-lib-base"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib
17 cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib
18 cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib
19 rm -f $fs/usr/lib/*-gdb.py
20 }
22 post_remove()
23 {
24 cd "$1/usr/lib"
25 ln -s libstdc++.so.6.*.* libstdc++.so.6
26 ln -s libstdc++.so.6.*.* libstdc++.so
27 cd - >/dev/null
28 }