wok view genromfs/receipt @ rev 21989

fasm: build fasmarm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 18:06:41 2019 +0200 (2019-10-15)
parents 4abd910b5ea9
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="genromfs"
4 VERSION="0.5.7"
5 CATEGORY="base-system"
6 SHORT_DESC="Romfs creation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://romfs.sourceforge.net/"
11 WGET_URL="https://github.com/chexum/$PACKAGE/archive/$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|prefix)/man|prefix)/share/man|' Makefile
20 patch -p0 < $stuff/genromfs.u
21 make &&
22 make PREFIX=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 ln -s genromfs $fs/usr/bin/mkromfs
31 }