aboutsummaryrefslogtreecommitdiffstats
path: root/main/squashfs-tools/APKBUILD
blob: 8af448562f2a421f3a680602f59a7d28ac3b12e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=squashfs-tools
pkgver=4.0
pkgrel=0
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
url="http://squashfs.sourceforge.net"
license="GPL"
depends=
makedepends="zlib-dev"
source="http://downloads.sourceforge.net/sourceforge/squashfs/squashfs$pkgver.tar.gz
	squashfs-tools-4.0-uclibc-get_nprocs.patch"

build() { 
	cd "$srcdir"/squashfs$pkgver/$pkgname
	patch -p2 -i "$srcdir"/squashfs-tools-4.0-uclibc-get_nprocs.patch \
		|| return 1
	make
}

package() {
	cd "$srcdir"/squashfs$pkgver/$pkgname
	mkdir -p "$pkgdir"/sbin
	cp -a mksquashfs unsquashfs "$pkgdir"/sbin
}
md5sums="a3c23391da4ebab0ac4a75021ddabf96  squashfs4.0.tar.gz
761580c100eeffb60ebbda62d724bd3f  squashfs-tools-4.0-uclibc-get_nprocs.patch"