wok-current annotate cramfs/receipt @ rev 25308
updated sipsak (0.9.7 -> 0.9.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:59:52 2022 +0100 (2022-07-20) |
parents | 458227f754da |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@17298 | 1 # SliTaz package receipt. |
pascal@17298 | 2 |
pascal@17298 | 3 PACKAGE="cramfs" |
pascal@17298 | 4 VERSION="1.1" |
pascal@17298 | 5 CATEGORY="base-system" |
pascal@17298 | 6 SHORT_DESC="simple and small, compressed filesystem." |
pascal@17298 | 7 LICENSE="GPL2" |
pascal@17298 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17298 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17298 | 10 WEB_SITE="http://cramfs.sourceforge.net/" |
pascal@17298 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@17298 | 12 |
pascal@17298 | 13 DEPENDS="zlib" |
pascal@17298 | 14 BUILD_DEPENDS="zlib-dev" |
pascal@17298 | 15 |
pascal@24373 | 16 # What is the latest version available today? |
pascal@24373 | 17 current_version() |
pascal@24373 | 18 { |
pascal@24373 | 19 wget -O - https://sourceforge.net/projects/cramfs/files/cramfs/ 2>/dev/null | \ |
pascal@24373 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24373 | 21 sed '/scope="row/!d;s|.*/cramfs/||;s|/.*||;q' |
pascal@24373 | 22 } |
pascal@24373 | 23 |
pascal@17298 | 24 # Rules to configure and make the package. |
pascal@17298 | 25 compile_rules() |
pascal@17298 | 26 { |
pascal@17298 | 27 make |
pascal@17298 | 28 } |
pascal@17298 | 29 |
pascal@17298 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17298 | 31 genpkg_rules() |
pascal@17298 | 32 { |
pascal@17298 | 33 mkdir -p $fs/usr/sbin |
pascal@17298 | 34 cp -a $src/mkcramfs $fs/usr/sbin |
pascal@17298 | 35 cp -a $src/cramfsck $fs/usr/sbin |
pascal@17298 | 36 } |