# SliTaz package receipt. PACKAGE="jfsutils" VERSION="1.1.15" CATEGORY="system-tools" TAGS="filesystem" SHORT_DESC="Utilities for manipulating jfs file-system." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="https://sourceforge.net/projects/jfs/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://jfs.sourceforge.net/project/pub/$TARBALL" DEPENDS="util-linux-uuid" BUILD_DEPENDS="util-linux-uuid-dev" # What is the latest version available today? current_version() { wget -O - http://jfs.sourceforge.net/jfs_lr.html 2>/dev/null | \ sed '/release/!d;s|.*release ||;s| is.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make -j 1 && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/sbin $fs/usr }