squashfs-tools: update to 4.1.
This commit is contained in:
parent
2847bd845b
commit
f7f3bd83cb
|
@ -1,15 +1,12 @@
|
|||
# Template file for 'squashfs-tools'
|
||||
pkgname=squashfs-tools
|
||||
version=4.0
|
||||
revision=1
|
||||
version=4.1
|
||||
wrksrc="squashfs${version}"
|
||||
build_wrksrc=squashfs-tools
|
||||
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
|
||||
build_style=gnu_makefile
|
||||
make_install_args="INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/bin"
|
||||
build_style=custom-install
|
||||
short_desc="Tool to create and append to squashfs filesystems"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=18948edbe06bac2c4307eea99bfb962643e4b82e5b7edd541b4d743748e12e21
|
||||
checksum=3a870d065a25b3f5467bc6d9ed34340befab51a3f9e4b7e3792ea0ff4e06046a
|
||||
long_desc="
|
||||
Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
|
||||
compression to compress both files, inodes and directories. Inodes in the
|
||||
|
@ -23,4 +20,28 @@ long_desc="
|
|||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run zlib
|
||||
Add_dependency run lzo
|
||||
Add_dependency run liblzma
|
||||
|
||||
Add_dependency build zlib-devel
|
||||
Add_dependency build lzo-devel
|
||||
Add_dependency build liblzma-devel
|
||||
|
||||
do_build()
|
||||
{
|
||||
cd ${wrksrc}/${pkgname} || return 1
|
||||
|
||||
# Enable LZO and XZ support.
|
||||
sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
|
||||
sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
|
||||
|
||||
make ${makejobs} || return 1
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
cd ${wrksrc}/${pkgname} || return 1
|
||||
|
||||
install -d ${DESTDIR}/usr/bin
|
||||
install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue