wok annotate nilfs-utils/receipt @ rev 25003
updated nspr and nspr-dev (4.25 -> 4.33)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:53:05 2022 +0100 (2022-05-16) |
parents | dc1fa2db351e |
children | 7364ffdaaa60 |
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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@18218 | 24 # Rules to configure and make the package. |
pascal@18218 | 25 compile_rules() |
pascal@18218 | 26 { |
Hans-G?nter@23242 | 27 ./autogen.sh && |
Hans-G?nter@23242 | 28 ./configure \ |
Hans-G?nter@23242 | 29 --prefix=/usr \ |
pascal@18218 | 30 $CONFIGURE_ARGS && |
pascal@18218 | 31 make && |
pascal@18218 | 32 make DESTDIR=$DESTDIR install |
pascal@18218 | 33 } |
pascal@18218 | 34 |
pascal@18218 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18218 | 36 genpkg_rules() |
pascal@18218 | 37 { |
pascal@18218 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@23242 | 39 |
Hans-G?nter@23242 | 40 cp -a $install/etc $fs |
Hans-G?nter@23242 | 41 cp -a $install/sbin $fs |
Hans-G?nter@23242 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23242 | 43 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@23242 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18218 | 45 } |