mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:54:37 +08:00
26 lines
807 B
Bash
26 lines
807 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=squashfs-tools
|
|
pkgver=4.2
|
|
pkgrel=1
|
|
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
|
|
url="http://squashfs.sourceforge.net"
|
|
license=("GPL")
|
|
arch=('x86_64')
|
|
depends=('zlib' 'glibc' 'lzo2' 'xz')
|
|
source=("http://downloads.sourceforge.net/sourceforge/squashfs/squashfs${pkgver}.tar.gz")
|
|
md5sums=('1b7a781fb4cf8938842279bd3e8ee852')
|
|
|
|
build() {
|
|
cd ${srcdir}/squashfs${pkgver}/${pkgname}
|
|
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 COMP_DEFAULT=xz
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/squashfs${pkgver}/${pkgname}
|
|
install -Dm755 mksquashfs ${pkgdir}/sbin/mksquashfs
|
|
install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs
|
|
} |