wok-next diff fpc/receipt @ rev 18029
Add original Tango icon set, and its SliTaz subset.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 07 16:21:55 2015 +0300 (2015-05-07) |
parents | e43333671f19 |
children | 9e01bc6321ea |
line diff
1.1 --- a/fpc/receipt Tue Apr 01 09:10:23 2014 +0000 1.2 +++ b/fpc/receipt Thu May 07 16:21:55 2015 +0300 1.3 @@ -54,10 +54,25 @@ 1.4 mkdir -p $fs/usr $fs/etc 1.5 cp -a $install/usr/bin $fs/usr 1.6 cp -a $install/usr/lib $fs/usr 1.7 + 1.8 # create symlink for compiler 1.9 ln -s /usr/lib/$PACKAGE/$VERSION/ppc386 $fs/usr/bin 1.10 + 1.11 # config file 1.12 - mkdir -p $fs/etc 1.13 - cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg 1.14 + #mkdir -p $fs/etc 1.15 + #cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg 1.16 } 1.17 1.18 +post_install() 1.19 +{ 1.20 + echo"Processing postinstall commands..." 1.21 + if [ ! -f $1/etc/fpc.cfg ]; then 1.22 + chroot $1/ fpcmkcfg > /etc/fpc.cfg 1.23 + fi 1.24 + 1.25 + # Fix units search path 1.26 + sed -i -e 's!^-Fu/units/$fpctarget!-Fu/usr/lib/fpc/2.6.4/units/$fpctarget!' \ 1.27 + -e 's!^-Fu/units/$fpctarget/*!-Fu/usr/lib/fpc/2.6.4/units/$fpctarget/*!' \ 1.28 + -e 's!^-Fu/units/$fpctarget/rtl!-Fu/usr/lib/fpc/2.6.4/units/$fpctarget/rtl!' $1/etc/fpc.cfg 1.29 + 1.30 +}