wok annotate genromfs/receipt @ rev 25336
updated suricata (5.0.2 -> 6.0.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:54:01 2022 +0100 (2022-07-23) |
parents | 5ea0ce1cecc0 |
children | 7dd01dedad38 |
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 DEPENDS="" |
pascal@17253 | 14 BUILD_DEPENDS="wget" |
pascal@17253 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@17253 | 22 # Rules to configure and make the package. |
pascal@17253 | 23 compile_rules() |
pascal@17253 | 24 { |
pascal@19284 | 25 sed -i 's|prefix)/man|prefix)/share/man|' Makefile |
pascal@17253 | 26 patch -p0 < $stuff/genromfs.u |
pascal@17253 | 27 make && |
pascal@17253 | 28 make PREFIX=$DESTDIR install |
pascal@17253 | 29 } |
pascal@17253 | 30 |
pascal@17253 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17253 | 32 genpkg_rules() |
pascal@17253 | 33 { |
pascal@17253 | 34 mkdir -p $fs/usr |
pascal@17253 | 35 cp -a $install/usr/bin $fs/usr |
pascal@17253 | 36 ln -s genromfs $fs/usr/bin/mkromfs |
pascal@17253 | 37 } |