wok annotate linld/receipt @ rev 19099
libgnome-keyring: add arm support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 03 22:53:34 2016 +0200 (2016-05-03) |
parents | df58e6c974a3 |
children | 86c9fae82f47 |
rev | line source |
---|---|
pascal@2330 | 1 # SliTaz package receipt. |
pascal@2330 | 2 |
pascal@2330 | 3 PACKAGE="linld" |
pascal@2330 | 4 VERSION="0.97" |
pascal@2330 | 5 CATEGORY="system-tools" |
pascal@2330 | 6 SHORT_DESC="Boot loader for DOS/Win9x." |
pascal@2330 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL" |
pascal@2330 | 9 TARBALL="${PACKAGE}$(echo $VERSION | sed 's/[^0-9]//')devel.tar.bz2" |
pascal@2330 | 10 BASE_SITE="http://busybox.net/~vda/$PACKAGE" |
pascal@2330 | 11 WEB_SITE="$BASE_SITE/README.txt" |
pascal@2330 | 12 WGET_URL="$BASE_SITE/$TARBALL" |
pascal@2330 | 13 |
pascal@17446 | 14 BUILD_DEPENDS="dosbox" |
pascal@17446 | 15 |
pascal@2330 | 16 # Rules to configure and make the package. |
pascal@2330 | 17 compile_rules() |
pascal@2330 | 18 { |
pascal@2330 | 19 mv DIST $src 2> /dev/null |
pascal@2330 | 20 cd $src |
pascal@17446 | 21 patch -p0 < $stuff/load.u |
pascal@17446 | 22 sed -i 's/^@pause/rem &/' LINLD097/*.BAT |
pascal@17446 | 23 unix2dos > MAKE.BAT <<EOT |
pascal@17446 | 24 d: |
pascal@17446 | 25 cd linld097 |
pascal@17446 | 26 !compile.bat |
pascal@17446 | 27 EOT |
pascal@17446 | 28 SDL_VIDEODRIVER=dummy dosbox MAKE.BAT -exit -c "mount D $src" |
pascal@18230 | 29 cc -o tobzimage.o -Wa,-algms=tobzimage.lst -c $stuff/tobzimage.S |
pascal@18230 | 30 objcopy -O binary tobzimage.o tobzimage.bin |
pascal@18230 | 31 cp $stuff/tobzimage . |
pascal@18230 | 32 ./tobzimage --build |
pascal@2330 | 33 } |
pascal@2330 | 34 |
pascal@2330 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2330 | 36 genpkg_rules() |
pascal@2330 | 37 { |
pascal@18228 | 38 mkdir -p $fs/usr/share/boot $fs/usr/bin |
pascal@2331 | 39 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \ |
pascal@2331 | 40 $fs/usr/share/boot/linld.com |
slaxemulator@9309 | 41 cp $stuff/linld.txt $fs/usr/share/boot/ |
pascal@18230 | 42 cp $src/tobzimage $fs/usr/bin |
pascal@2330 | 43 } |