summaryrefslogtreecommitdiffstats
path: root/main/squashfs-tools/APKBUILD
blob: 7d5c7cd5438d329954df83d6b67e04b95dfe5059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.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"
arch="all"
license="GPL"
depends=
makedepends="zlib-dev xz-dev lzo-dev attr-dev"
source="http://downloads.sourceforge.net/sourceforge/squashfs/squashfs$pkgver.tar.gz"

build() { 
	cd "$srcdir"/squashfs$pkgver/$pkgname
	make XZ_SUPPORT=1 LZO_SUPPORT=1
}

package() {
	cd "$srcdir"/squashfs$pkgver/$pkgname
	mkdir -p "$pkgdir"/sbin
	cp -a mksquashfs unsquashfs "$pkgdir"/sbin
}
md5sums="1b7a781fb4cf8938842279bd3e8ee852  squashfs4.2.tar.gz"