contrib/cramfs-tools/Pkgfile
2021-01-05 17:53:32 +02:00

22 lines
601 B
Plaintext

# Description: Tools for CramFs (Compressed ROM File System)
# URL: https://github.com/npitre/cramfs-tools
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
# Depends on: zlib
name=cramfs-tools
version=2.1
release=1
source=(https://github.com/npitre/$name/archive/v$version/$name-v$version.tar.gz
fix-build-undefined-reference-to-major-and-minor-1.1.diff)
build () {
cd $name-$version
patch -p1 -i $SRC/fix-build-undefined-reference-to-major-and-minor-1.1.diff
make CFLAGS="$CFLAGS -Wall -W"
install -d $PKG/usr/bin
install -m755 {cramfsck,mkcramfs} $PKG/usr/bin/
}