wok annotate nilfs-utils/receipt @ rev 25663
Update some perl* web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 23 15:13:32 2024 +0000 (10 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@18218 | 1 # SliTaz package receipt. |
pascal@18218 | 2 |
pascal@18218 | 3 PACKAGE="nilfs-utils" |
Hans-G?nter@23242 | 4 VERSION="2.2.8" |
pascal@18218 | 5 CATEGORY="system-tools" |
pascal@18218 | 6 SHORT_DESC="NILFS Filesystem user space tools." |
pascal@18218 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18218 | 8 LICENSE="GPL2 LGPL2.1" |
Hans-G?nter@23242 | 9 WEB_SITE="https://github.com/nilfs-dev/nilfs-utils" |
Hans-G?nter@23242 | 10 |
pascal@18218 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18218 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18218 | 13 |
Hans-G?nter@23242 | 14 DEPENDS="util-linux-blkid util-linux-mount util-linux-uuid" |
Hans-G?nter@23242 | 15 BUILD_DEPENDS="autoconf automake libtool util-linux-blkid-dev util-linux-mount-dev |
Hans-G?nter@23242 | 16 util-linux-uuid-dev" |
pascal@18218 | 17 |
pascal@25600 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pascal@18218 | 25 # Rules to configure and make the package. |
pascal@18218 | 26 compile_rules() |
pascal@18218 | 27 { |
Hans-G?nter@23242 | 28 ./autogen.sh && |
Hans-G?nter@23242 | 29 ./configure \ |
Hans-G?nter@23242 | 30 --prefix=/usr \ |
pascal@18218 | 31 $CONFIGURE_ARGS && |
pascal@18218 | 32 make && |
pascal@18218 | 33 make DESTDIR=$DESTDIR install |
pascal@18218 | 34 } |
pascal@18218 | 35 |
pascal@18218 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18218 | 37 genpkg_rules() |
pascal@18218 | 38 { |
pascal@18218 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@23242 | 40 |
Hans-G?nter@23242 | 41 cp -a $install/etc $fs |
Hans-G?nter@23242 | 42 cp -a $install/sbin $fs |
Hans-G?nter@23242 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23242 | 44 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23242 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18218 | 46 } |