wok-current diff bin86/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 9af0e03b8ad0
children
line diff
     1.1 --- a/bin86/receipt	Sat Feb 05 16:12:08 2022 +0000
     1.2 +++ b/bin86/receipt	Thu Mar 14 20:28:39 2024 +0000
     1.3 @@ -7,30 +7,18 @@
     1.4  MAINTAINER="slaxemulator@gmail.com"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://www.debath.co.uk/"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 -WGET_URL="http://v3.sk/~lkundrak/dev86/$TARBALL"
     1.9 +WANTED="dev86"
    1.10  TAGS="assembler 8086"
    1.11  
    1.12  DEPENDS="glibc-base"
    1.13  
    1.14 -# What is the latest version available today?
    1.15 -current_version()
    1.16 -{
    1.17 -	wget -O - https://github.com/lkundrak/dev86/tags 2>/dev/null | \
    1.18 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.19 -}
    1.20 -
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
    1.25 -	make PREFIX=/usr &&
    1.26 -	make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man/man1 install
    1.27 -}
    1.28 -
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr
    1.33 -	cp -a $install/usr/bin $fs/usr
    1.34 +	mkdir -p $fs/usr/bin
    1.35 +	cp -a $install/usr/bin/as86 $fs/usr/bin
    1.36 +	cp -a $install/usr/bin/ld86 $fs/usr/bin
    1.37 +	cp -a $install/usr/bin/objdump86 $fs/usr/bin
    1.38 +	ln -s objdump86 $fs/usr/bin/nm86
    1.39 +	ln -s objdump86 $fs/usr/bin/size86
    1.40  }