You are not logged in.

#1 2004-07-21 20:00:42

shaurz
Member
Registered: 2004-02-02
Posts: 358

FASM 1.53 and YASM 0.3.0

Flat Assembler 1.53

pkgname=fasm
pkgver=1.53
pkgrel=1
pkgdesc="Flat Assembler, a fast and small assembler for x86"
url=http://flatassembler.net/
backup=()
depends=()
source=(http://flatassembler.net/fasm-$pkgver.tar.gz)

build() {
  mkdir $startdir/pkg/usr
  mkdir $startdir/pkg/usr/bin
  mkdir $startdir/pkg/usr/share
  mkdir $startdir/pkg/usr/share/fasm
  cp $startdir/src/fasm/fasm $startdir/pkg/usr/bin
  cp $startdir/src/fasm/*.txt $startdir/pkg/usr/share/fasm
  cp $startdir/src/fasm/examples $startdir/pkg/usr/share/fasm -R
  cp $startdir/src/fasm/source $startdir/pkg/usr/share/fasm -R
  chmod ugo+x $startdir/pkg/usr/bin/fasm
}

YASM Modular Assembler 0.3.0

pkgname=yasm
pkgver=0.3.0
pkgrel=1
pkgdesc="Modular rewrite of the NASM assembler"
url=http://www.tortall.net/projects/yasm/
backup=()
depends=()
source=(http://www.tortall.net/projects/yasm/releases/yasm-$pkgver.tar.gz)

build() {
  cd $startdir/src/yasm-$pkgver
  ./configure --prefix=/usr && make || return 1
  make DESTDIR=$startdir/pkg install
}

Offline

#2 2004-07-21 20:02:35

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: FASM 1.53 and YASM 0.3.0

Oops, forgot the md5sums. Haven't done this in a while.
Also YASM might have some dependencies, probably glibc.

Offline

Board footer

Powered by FluxBB