summaryrefslogtreecommitdiffstats
path: root/squashfs/Pkgfile
blob: 5297037833b2394117e60c1e4e78255297d0a6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: un système de fichier en lecture seule hautement compressé.
# URL: http://squashfs.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: guy_
# Depends on: lzo, xz-utils

name=squashfs
version=4.2
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$name$version/$name$version.tar.gz)

build() {
	cd $name$version/squashfs-tools
	sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
	sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
	make 
	mkdir -p $PKG/bin
	make INSTALL_DIR=$PKG/bin install
}