wok-6.x view genromfs/receipt @ rev 19328

Add: gcc54 (5.4.0), gcc61 (6.1.0)
author Alexander Medvedev <devl547@gmail.com>
date Thu Jul 14 20:51:08 2016 +0000 (2016-07-14)
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 }