wok-6.x annotate 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
rev   line source
devl547@19328 1 # SliTaz package receipt.
devl547@19328 2
devl547@19328 3 PACKAGE="gcc61-lib-base"
devl547@19328 4 VERSION="6.1.0"
devl547@19328 5 CATEGORY="development"
devl547@19328 6 SHORT_DESC="GCC base libraries, libgcc_s and libstdc++."
devl547@19328 7 WEB_SITE="http://gcc.gnu.org/"
devl547@19328 8 MAINTAINER="pankso@slitaz.org"
devl547@19328 9 LICENSE="GPL2"
devl547@19328 10 WANTED="gcc61"
devl547@19328 11 PROVIDE="gcc-lib-base"
devl547@19328 12
devl547@19328 13 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@19328 14 genpkg_rules()
devl547@19328 15 {
devl547@19328 16 mkdir -p $fs/usr/lib
devl547@19328 17 cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib
devl547@19328 18 cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib
devl547@19328 19 rm -f $fs/usr/lib/*-gdb.py
devl547@19328 20 }
devl547@19328 21
devl547@19328 22 post_remove()
devl547@19328 23 {
devl547@19328 24 cd "$1/usr/lib"
devl547@19328 25 ln -s libstdc++.so.6.*.* libstdc++.so.6
devl547@19328 26 ln -s libstdc++.so.6.*.* libstdc++.so
devl547@19328 27 cd - >/dev/null
devl547@19328 28 }