wok-current view cramfs/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 (2022-09-28) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cramfs"
4 VERSION="1.1"
5 CATEGORY="base-system"
6 SHORT_DESC="simple and small, compressed filesystem."
7 LICENSE="GPL2"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://cramfs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/cramfs/files/cramfs/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/cramfs/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 cp -a $src/mkcramfs $fs/usr/sbin
35 cp -a $src/cramfsck $fs/usr/sbin
36 }