wok-6.x annotate clicfs/receipt @ rev 17538
Add clicfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 25 13:52:18 2015 +0100 (2015-01-25) |
parents | |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
pascal@17538 | 1 # SliTaz package receipt. |
pascal@17538 | 2 |
pascal@17538 | 3 PACKAGE="clicfs" |
pascal@17538 | 4 GITHASH="1e86c5520648e7c292802eb1e7864b3bd9a5c6f6" |
pascal@17538 | 5 VERSION="${GITHASH:0:7}" |
pascal@17538 | 6 CATEGORY="system-tools" |
pascal@17538 | 7 SHORT_DESC="Compressed Loop Image Container File System (see suse studio)." |
pascal@17538 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17538 | 9 LICENSE="GPL2" |
pascal@17538 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@17538 | 11 WEB_SITE="https://github.com/openSUSE/clicfs" |
pascal@17538 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@17538 | 13 |
pascal@17538 | 14 DEPENDS="fuse liblzma libcrypto gcc-lib-base" |
pascal@17538 | 15 BUILD_DEPENDS="cmake fuse-dev liblzma-dev openssl-dev" |
pascal@17538 | 16 |
pascal@17538 | 17 # Rules to configure and make the package. |
pascal@17538 | 18 compile_rules() |
pascal@17538 | 19 { |
pascal@17538 | 20 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@17538 | 21 make && |
pascal@17538 | 22 make DESTDIR=$DESTDIR install |
pascal@17538 | 23 } |
pascal@17538 | 24 |
pascal@17538 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17538 | 26 genpkg_rules() |
pascal@17538 | 27 { |
pascal@17538 | 28 mkdir -p $fs/usr |
pascal@17538 | 29 cp -a $install/usr/bin $fs/usr |
pascal@17538 | 30 } |