wok-next annotate nilfs-utils/receipt @ rev 20486
outguess: fix install path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:46:52 2018 +0100 (2018-03-12) |
parents | de813e146c92 |
children | d43bf7aae921 |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
pascal@18218 | 2 |
pascal@18218 | 3 PACKAGE="nilfs-utils" |
al@19816 | 4 VERSION="2.2.6" |
pascal@18218 | 5 CATEGORY="system-tools" |
al@19816 | 6 SHORT_DESC="NILFS Filesystem user space tools" |
pascal@18218 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18218 | 8 LICENSE="GPL2 LGPL2.1" |
al@19816 | 9 WEB_SITE="http://nilfs.sourceforge.net/" |
al@19816 | 10 #WGET_URL="https://github.com/nilfs-dev/nilfs-utils/" |
pascal@18218 | 11 |
al@19816 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19816 | 13 WGET_URL="http://nilfs.sourceforge.net/download/$TARBALL" # note, no $SF_MIRROR |
al@19816 | 14 |
al@19816 | 15 BUILD_DEPENDS="automake libtool util-linux-uuid-dev util-linux-mount-dev" |
al@19816 | 16 SPLIT="nilfs-utils-dev" |
pascal@18218 | 17 |
pascal@18218 | 18 # Rules to configure and make the package. |
pascal@18218 | 19 compile_rules() |
pascal@18218 | 20 { |
al@19816 | 21 ./autogen.sh && |
al@19816 | 22 ./configure \ |
al@19816 | 23 --with-libmount \ |
pascal@18218 | 24 $CONFIGURE_ARGS && |
al@19816 | 25 make && make install |
pascal@18218 | 26 } |
pascal@18218 | 27 |
pascal@18218 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18218 | 29 genpkg_rules() |
pascal@18218 | 30 { |
al@19816 | 31 case $PACKAGE in |
al@19816 | 32 *-utils) |
al@19816 | 33 copy @std |
al@19816 | 34 DEPENDS="util-linux-blkid util-linux-mount util-linux-uuid" |
al@19816 | 35 CONFIG_FILES="/etc/nilfs_cleanerd.conf" |
al@19816 | 36 ;; |
al@19816 | 37 *-dev) |
al@19816 | 38 copy @dev |
al@19816 | 39 DEPENDS="nilfs-utils util-linux-uuid-dev" |
al@19816 | 40 ;; |
al@19816 | 41 esac |
pascal@18218 | 42 } |