wok-current annotate squashfs/receipt @ rev 17689
Add xrdp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 22 18:16:53 2015 +0100 (2015-02-22) |
parents | 051931e905b0 |
children | 432d327b4c99 |
rev | line source |
---|---|
pascal@236 | 1 # SliTaz package receipt. |
pascal@236 | 2 |
pascal@236 | 3 PACKAGE="squashfs" |
slaxemulator@8994 | 4 VERSION="4.2" |
pascal@236 | 5 CATEGORY="base-system" |
pascal@909 | 6 SHORT_DESC="Linux squashfs userland tools." |
pascal@236 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pascal@236 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@2991 | 10 TARBALL="squashfs$VERSION.tar.gz" |
pascal@236 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15579 | 12 |
pascal@16456 | 13 DEPENDS="zlib liblzma linux-squashfs lzo" |
pascal@16456 | 14 BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev lzo-dev" |
pascal@1930 | 15 |
pascal@236 | 16 # Rules to configure and make the package. |
pascal@236 | 17 compile_rules() |
pascal@236 | 18 { |
slaxemulator@7649 | 19 cd $src |
pascal@2991 | 20 cd $src/squashfs-tools |
slaxemulator@8994 | 21 sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile |
pascal@16456 | 22 sed -i 's|#LZO_SUPPORT = 1|LZO_SUPPORT = 1|g' Makefile |
slaxemulator@8994 | 23 mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin |
pascal@1452 | 24 make || return 1 |
slaxemulator@8994 | 25 cp -a mksquashfs $DESTDIR/usr/sbin |
slaxemulator@8994 | 26 cp -a unsquashfs $DESTDIR/sbin |
pascal@236 | 27 } |
pascal@236 | 28 |
pascal@236 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@236 | 30 genpkg_rules() |
pascal@236 | 31 { |
pascal@15603 | 32 cp -a $install/usr $install/sbin $fs |
pascal@236 | 33 } |