wok annotate gcc54-lib-base/receipt @ rev 19717
mtpaint: add -lpng12
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 08:23:51 2017 +0100 (2017-02-16) |
parents | |
children | eb719d357888 |
rev | line source |
---|---|
devl547@19328 | 1 # SliTaz package receipt. |
devl547@19328 | 2 |
devl547@19328 | 3 PACKAGE="gcc54-lib-base" |
devl547@19328 | 4 VERSION="5.4.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="gcc54" |
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/libgcc54/libgcc_s.so* $fs/usr/lib |
devl547@19328 | 18 cp -a $install/usr/libgcc54/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 } |