wok view fasmg/receipt @ rev 25740
Fix vlc build, 3.x required Qt5
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Aug 25 19:45:07 2024 +0200 (2 months ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fasmg"
4 VERSION="jdp2"
5 CATEGORY="development"
6 SHORT_DESC="Assembly language programming for x86, x86-64."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://flatassembler.net/"
11 TARBALL="$PACKAGE.$VERSION.zip"
12 WGET_URL="$WEB_SITE$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - $WEB_SITE/download.php 2>/dev/null | \
20 sed '/"fasmg/!d;s|.zip.*||;s|.*fasmg.||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $DESTDIR/usr/bin
27 mkdir -p $DESTDIR/usr/share/doc
29 cp docs/* $DESTDIR/usr/share/doc
30 chmod +x fasmg
31 cd source/linux
32 ../../fasmg fasmg.asm $DESTDIR/usr/bin/fasmg
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/fasmg
39 cp -a $install/usr/bin $fs/usr
40 cp -a $src/examples/* $fs/usr/share/fasmg
41 }