wok-6.x annotate vifm/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 | 703944c2942c |
children | 07e5f46bebd3 |
rev | line source |
---|---|
pascal@15723 | 1 # SliTaz package receipt. |
pascal@15723 | 2 |
pascal@15723 | 3 PACKAGE="vifm" |
Hans-G?nter@21557 | 4 VERSION="0.10" |
pascal@15723 | 5 CATEGORY="utilities" |
pascal@15723 | 6 SHORT_DESC="Vi File Manager." |
pascal@15723 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15723 | 8 LICENSE="GPL2" |
Hans-G?nter@21556 | 9 WEB_SITE="http://vifm.sourceforge.net/" |
Hans-G?nter@21556 | 10 |
pascal@15723 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15723 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15723 | 13 |
Hans-G?nter@21556 | 14 DEPENDS="file libmagic ncurses vim xorg-libX11" |
Hans-G?nter@21557 | 15 BUILD_DEPENDS="file groff libmagic-dev ncurses-dev util-linux-whereis \ |
Hans-G?nter@21556 | 16 vim xorg-libX11-dev" |
Hans-G?nter@21556 | 17 |
pascal@15723 | 18 # Rules to configure and make the package. |
pascal@15723 | 19 compile_rules() |
pascal@15723 | 20 { |
Hans-G?nter@21557 | 21 ./configure \ |
Hans-G?nter@21557 | 22 --prefix=/usr \ |
Hans-G?nter@21557 | 23 --without-gtk \ |
Hans-G?nter@21557 | 24 --with-libmagic \ |
Hans-G?nter@21557 | 25 --datadir=/usr/share \ |
pascal@15723 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@21556 | 27 make && |
Hans-G?nter@21556 | 28 make -j 1 DESTDIR=$DESTDIR install |
pascal@15723 | 29 } |
pascal@15723 | 30 |
pascal@15723 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15723 | 32 genpkg_rules() |
pascal@15723 | 33 { |
pascal@15723 | 34 mkdir -p $fs/usr |
Hans-G?nter@21556 | 35 |
Hans-G?nter@21556 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21556 | 37 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21556 | 38 |
pascal@15723 | 39 # rm stuff |
pascal@15723 | 40 rm -rf $fs/usr/share/man |
pascal@15723 | 41 } |