wok diff libdisasm/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 | |
children | 65d7d867e0c1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdisasm/receipt Sat May 25 14:09:45 2019 +0300 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libdisasm" 1.7 +VERSION="0.23" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="x86 Disassembler Library." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Artistic" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://bastard.sourceforge.net/libdisasm.html" 1.14 +WGET_URL="$SF_MIRROR/bastard/$TARBALL" 1.15 + 1.16 +DEPENDS="" 1.17 +BUILD_DEPENDS="" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \ 1.23 + --prefix=/usr \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $install/usr/bin $fs/usr 1.35 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.36 +}