SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "genromfs"

# SliTaz package receipt.

PACKAGE="genromfs"
VERSION="0.5.7"
CATEGORY="base-system"
SHORT_DESC="Romfs creation tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://romfs.sourceforge.net/"
WGET_URL="https://github.com/chexum/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS=""
BUILD_DEPENDS="wget"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|prefix)/man|prefix)/share/man|' Makefile
    patch -p0 < $stuff/genromfs.u
    make &&
    make PREFIX=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    ln -s genromfs $fs/usr/bin/mkromfs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)