wok annotate rp-pppoe/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
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 | c9e270dd464f |
children | 3725cb6263da |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rp-pppoe" |
pascal@18020 | 4 VERSION="3.11" |
pankso@203 | 5 CATEGORY="network" |
al@17992 | 6 SHORT_DESC="Roaring Penguin PPPoE client" |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pankso@8 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@167 | 10 WEB_SITE="http://www.roaringpenguin.com/products/pppoe" |
pankso@8 | 11 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" |
al@17992 | 12 TAGS="network PPPoE" |
pankso@16194 | 13 HOST_ARCH="i486" |
pankso@8 | 14 |
pascal@15593 | 15 BUILD_DEPENDS="ppp" |
pascal@15593 | 16 |
pankso@8 | 17 # Rules to configure and make the package. |
pankso@8 | 18 compile_rules() |
pankso@8 | 19 { |
pankso@8 | 20 cd $src/src |
pankso@16194 | 21 ./configure \ |
pankso@16194 | 22 --prefix=/usr \ |
pankso@16194 | 23 $CONFIGURE_ARGS && |
jozee@5101 | 24 make && |
pascal@15593 | 25 make DESTDIR=$DESTDIR install |
pankso@8 | 26 } |
pankso@8 | 27 |
pankso@8 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 29 genpkg_rules() |
pankso@8 | 30 { |
jozee@5101 | 31 mkdir -p $fs/usr |
pankso@8 | 32 |
pascal@15593 | 33 cp -a $install/etc $fs |
pascal@15593 | 34 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 35 |
pankso@2618 | 36 # Fix permissions on all scripts |
pankso@2618 | 37 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 38 } |