wok-current annotate fuse-rofs/receipt @ rev 19537
Up firefox-official (50.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 01 21:07:54 2016 +0200 (2016-12-01) |
parents | |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
pascal@17365 | 1 # SliTaz package receipt. |
pascal@17365 | 2 |
pascal@17365 | 3 PACKAGE="fuse-rofs" |
pascal@17365 | 4 HASH="ce809a5df82da363a80742e3969eace2f349fa29" |
pascal@17365 | 5 VERSION="${HASH:0:7}" |
pascal@17365 | 6 CATEGORY="system-tools" |
pascal@17365 | 7 SHORT_DESC="The Read-Only File System for FUSE." |
pascal@17365 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17365 | 9 LICENSE="GPL2" |
pascal@17365 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17365 | 11 WEB_SITE="https://github.com/cognusion/fuse-rofs" |
pascal@17365 | 12 WGET_URL="$WEB_SITE/archive/$HASH.tar.gz" |
pascal@17365 | 13 |
pascal@17365 | 14 DEPENDS="fuse" |
pascal@17365 | 15 BUILD_DEPENDS="wget fuse-dev" |
pascal@17365 | 16 |
pascal@17365 | 17 # Rules to configure and make the package. |
pascal@17365 | 18 compile_rules() |
pascal@17365 | 19 { |
pascal@17365 | 20 gcc -o rofs -Wall -ansi -W -std=c99 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -lfuse rofs.c |
pascal@17365 | 21 } |
pascal@17365 | 22 |
pascal@17365 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17365 | 24 genpkg_rules() |
pascal@17365 | 25 { |
pascal@17365 | 26 mkdir -p $fs/usr/sbin |
pascal@17365 | 27 cp $src/rofs $fs/usr/sbin/mount.rofs |
pascal@17365 | 28 } |