-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sabnzbd: update cross/par2cmdline-turbo
- update cross/par2cmdline-turbo to v1.2.0 and optimize code - fix of animetosho/par2cmdline-turbo#22 is included - former post_install_target is obsolete
- Loading branch information
Showing
3 changed files
with
19 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,30 @@ | ||
PKG_NAME = par2cmdline-turbo | ||
PKG_VERS = 1.1.0 | ||
PKG_VERS = 1.2.0 | ||
PKG_EXT = tar.gz | ||
PKG_GIT_HASH = e00677a8249f438f0f52b0270af9e8c7116eeac0 | ||
PKG_DIST_NAME = $(PKG_GIT_HASH).$(PKG_EXT) | ||
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIST_SITE = https://github.com/animetosho/par2cmdline-turbo/archive | ||
PKG_DIST_FILE = $(PKG_NAME)-git$(PKG_GIT_HASH).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_GIT_HASH) | ||
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) | ||
PKG_DIR = $(PKG_NAME)-$(PKG_VERS) | ||
|
||
DEPENDS = | ||
|
||
# A compiler with support for C++11 language features is required. | ||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS) | ||
|
||
HOMEPAGE = https://github.com/animetosho/par2cmdline-turbo | ||
COMMENT = This is a simple fork of par2cmdline which replaces core computation routines with ParPars processing backend, improving par2cmdlines performance on x86/ARM platforms. par2cmdline is a PAR 2.0 compatible file verification and repair tool. | ||
LICENSE = GPL | ||
|
||
# Ensure C++11 compatibility | ||
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS) | ||
PRE_CONFIGURE_TARGET = par2cmdline-turbo_pre_configure | ||
|
||
GNU_CONFIGURE = 1 | ||
ADDITIONAL_CFLAGS = -std=c11 | ||
|
||
PRE_CONFIGURE_TARGET = myPreConfigure | ||
POST_INSTALL_TARGET = myPostInstall | ||
ADDITIONAL_CPPFLAGS = -O2 | ||
# ignore some compiler warnings | ||
ADDITIONAL_CPPFLAGS += -Wno-unused-variable -Wno-unused-function | ||
|
||
include ../../mk/spksrc.cross-cc.mk | ||
|
||
PAR2_TOOLS = par2create par2repair par2verify | ||
|
||
.PHONY: myPreConfigure | ||
myPreConfigure: | ||
$(RUN) ./automake.sh | ||
|
||
.PHONY: myPostInstall | ||
myPostInstall: | ||
(cd $(INSTALL_DIR)/$(INSTALL_PREFIX)/bin ; \ | ||
for tool in $(PAR2_TOOLS); \ | ||
do \ | ||
rm $${tool} ; \ | ||
ln -sf par2 $${tool} ; \ | ||
done \ | ||
) | ||
.PHONY: par2cmdline-turbo_pre_configure | ||
par2cmdline-turbo_pre_configure: | ||
@$(RUN) ./automake.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
par2cmdline-turbo-gite00677a8249f438f0f52b0270af9e8c7116eeac0.tar.gz SHA1 17187908f279068a5306b88b6adcb3ad63d83356 | ||
par2cmdline-turbo-gite00677a8249f438f0f52b0270af9e8c7116eeac0.tar.gz SHA256 bb0ad1baa2625a6bd61122e43e84a1aa62a6da8d6ddc4eb024adfe5c4bf7f81a | ||
par2cmdline-turbo-gite00677a8249f438f0f52b0270af9e8c7116eeac0.tar.gz MD5 fee6b5fd2997095ad52c25f344062a7b | ||
par2cmdline-turbo-1.2.0.tar.gz SHA1 07d2dd77d7a27504ee3118c8e90699d635cae211 | ||
par2cmdline-turbo-1.2.0.tar.gz SHA256 5d3911d1defaf2aa9d17f8b37325fa3152edce5814c5110647b2e5197706bfa4 | ||
par2cmdline-turbo-1.2.0.tar.gz MD5 01df3c7dd697f2e5f6c9a4b76e545f50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters