mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Initial .bep file for pigz
This commit is contained in:
28
app-arch/pigz/pigz-2.1.6.bep
Normal file
28
app-arch/pigz/pigz-2.1.6.bep
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION="pigz"
|
||||
HOMEPAGE="http://www.zlib.net/pigz"
|
||||
SRC_URI="http://www.zlib.net/pigz/pigz-2.1.6.tar.gz"
|
||||
CHECKSUM_MD5="cbe9030c4be3d0ef2438ee5f8b169ca4"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd pigz-2.1.6
|
||||
sed -i 's/-lpthread/ /g' Makefile
|
||||
sed -i 's/ln -f pigz unpigz/cp pigz unpigz/' Makefile
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd pigz-2.1.6
|
||||
mkdir -p ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`
|
||||
cp pigz ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/pigz
|
||||
cp unpigz ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/unpigz
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd pigz-2.1.6
|
||||
make test
|
||||
}
|
||||
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="2008 Mark Adler"
|
||||
Reference in New Issue
Block a user