wok-next diff f2fs-tools/receipt @ rev 20165
fltk: more receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 18:37:43 2017 +0100 (2017-11-01) |
parents | 2d1a6601c331 |
children | 835b3b8ce6ac |
line diff
1.1 --- a/f2fs-tools/receipt Fri Jul 17 23:18:14 2015 +0200 1.2 +++ b/f2fs-tools/receipt Wed Nov 01 18:37:43 2017 +0100 1.3 @@ -1,32 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="f2fs-tools" 1.8 -VERSION="1.4.1" 1.9 +VERSION="1.8.0" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="Userland tools for the f2fs filesystem." 1.12 +SHORT_DESC="Userland tools for the Flash-Friendly File System (F2FS)" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git" 1.17 -WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git" 1.18 +WEB_SITE="https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/about/" 1.19 1.20 -DEPENDS="util-linux-uuid" 1.21 -BUILD_DEPENDS="git autoconf automake libtool util-linux-uuid-dev" 1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.23 +WGET_URL="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/$TARBALL" 1.24 + 1.25 +BUILD_DEPENDS="automake libtool util-linux-uuid-dev" 1.26 +SPLIT="f2fs-tools-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - sh ./autogen.sh 1.32 - ./configure --prefix=/usr \ 1.33 - $CONFIGURE_ARGS && 1.34 - make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + autoreconf -fi && 1.37 + ./configure $CONFIGURE_ARGS && make && make install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr 1.44 - cp -a $install/usr/lib $fs/usr/ 1.45 - cp -a $install/usr/sbin $fs/usr/ 1.46 + case $PACKAGE in 1.47 + *-tools) 1.48 + copy @std 1.49 + DEPENDS="util-linux-uuid" 1.50 + ;; 1.51 + *-dev) 1.52 + copy @dev 1.53 + DEPENDS="f2fs-tools util-linux-uuid-dev" 1.54 + ;; 1.55 + esac 1.56 }