wok view genromfs/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents ac8ca9758df1
children cec9f8f5726d
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="https://romfs.sourceforge.net/"
11 WGET_URL="https://github.com/chexum/$PACKAGE/archive/$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|prefix)/man|prefix)/share/man|' Makefile
26 patch -p0 < $stuff/genromfs.u
27 make &&
28 make PREFIX=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 ln -s genromfs $fs/usr/bin/mkromfs
37 }