wok-6.x view avatar-factory/receipt @ rev 21619

gcc83-lib-base: revert to gcc-lib-base post install
Previous post-install rules don't work for me producing error:
error: C compiler cannot create executables
on the another plain build when I previously used gcc83 & gcc83-lib-base to compile my other package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 25 14:09:45 2019 +0300 (2019-05-25)
parents fa5913a0fdf3
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="avatar-factory"
4 VERSION="0.8"
5 CATEGORY="utilities"
6 SHORT_DESC="A bash script that creates eye candy shortcuts for music albums, photo albums, movie files, and more..."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://yuzem.blogspot.com/p/avatar-factory.html?m=1"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="bash findutils imagemagick sed zenity"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share/applications
20 sed -i 's|/usr/local|/usr|g' $src/avatar-factory
21 cp -a $src/avatar-factory $fs/usr/bin
22 cp -a $src/Avatar-Factory $fs/usr/share/avatar-factory
23 sed -i 's|/usr/local|/usr|' $src/avatar-factory.desktop
24 cp -a $src/avatar-factory.desktop $fs/usr/share/applications
26 # fix permissions
27 find $fs -type d -exec chmod 755 {} \;
28 find $fs -type f -exec chmod 644 {} \;
29 for file in $(find $fs -type f); do
30 [ $(head -n1 $file | grep '#!/bin/bash') ] && chmod 755 $file
31 done
32 chown -R root.root $fs # was pankso.100 ... why ?
33 }