wok view nilfs-utils/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | dc1fa2db351e |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nilfs-utils"
4 VERSION="2.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="NILFS Filesystem user space tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://github.com/nilfs-dev/nilfs-utils"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="util-linux-blkid util-linux-mount util-linux-uuid"
15 BUILD_DEPENDS="autoconf automake libtool util-linux-blkid-dev util-linux-mount-dev
16 util-linux-uuid-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/etc $fs
41 cp -a $install/sbin $fs
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }