wok-next annotate genromfs/receipt @ rev 20742
tpp: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 23:39:24 2018 +0300 (2018-05-29) |
parents | d43bf7aae921 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@17253 | 1 # SliTaz package receipt. |
pascal@17253 | 2 |
pascal@17253 | 3 PACKAGE="genromfs" |
pascal@17253 | 4 VERSION="0.5.7" |
pascal@17253 | 5 CATEGORY="base-system" |
pascal@17253 | 6 SHORT_DESC="Romfs creation tool." |
pascal@17253 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17253 | 8 LICENSE="GPL2" |
pascal@17253 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17253 | 10 WEB_SITE="http://romfs.sourceforge.net/" |
pascal@17253 | 11 WGET_URL="https://github.com/chexum/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@17253 | 12 |
pascal@17253 | 13 # Rules to configure and make the package. |
pascal@17253 | 14 compile_rules() |
pascal@17253 | 15 { |
pascal@19284 | 16 sed -i 's|prefix)/man|prefix)/share/man|' Makefile |
al@20661 | 17 |
pascal@17253 | 18 make && |
pascal@17253 | 19 make PREFIX=$DESTDIR install |
pascal@17253 | 20 } |
pascal@17253 | 21 |
pascal@17253 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17253 | 23 genpkg_rules() |
pascal@17253 | 24 { |
pascal@17253 | 25 mkdir -p $fs/usr |
pascal@17253 | 26 cp -a $install/usr/bin $fs/usr |
pascal@17253 | 27 ln -s genromfs $fs/usr/bin/mkromfs |
pascal@17253 | 28 } |