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

backported Bobylev's receipt for consolekit2 from next to cooking
author Hans-G?nter Theisgen
date Sun May 05 11:02:08 2019 +0100 (2019-05-05)
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 }