mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
p7zip: add package
This commit is contained in:
parent
61949f2443
commit
cbe1465aa4
@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
# This file is part of LibreELEC - http://www.libreelec.tv
|
||||
# Copyright (C) 2016 Team LibreELEC
|
||||
#
|
||||
# LibreELEC is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# LibreELEC is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="p7zip"
|
||||
PKG_VERSION="15.14"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://p7zip.sourceforge.net/"
|
||||
PKG_URL="http://downloads.sourceforge.net/project/p7zip/p7zip/${PKG_VERSION}/p7zip_${PKG_VERSION}_src_all.tar.bz2"
|
||||
PKG_SOURCE_DIR="${PKG_NAME}_${PKG_VERSION}"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="tools"
|
||||
PKG_SHORTDESC="p7zip is a port of 7za.exe for POSIX systems like Unix"
|
||||
PKG_LONGDESC="p7zip is a port of 7za.exe for POSIX systems like Unix"
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
make_target() {
|
||||
make TARGET_CXX=$TARGET_CXX TARGET_CC=$TARGET_CC 7z 7za
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nop
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
diff -Naur p7zip_15.14/makefile.machine p7zip_15.14.patch/makefile.machine
|
||||
--- p7zip_15.14/makefile.machine 2016-03-13 18:30:21.000000000 +0100
|
||||
+++ p7zip_15.14.patch/makefile.machine 2016-03-27 03:17:45.348285607 +0200
|
||||
@@ -10,8 +10,8 @@
|
||||
-D_7ZIP_LARGE_PAGES \
|
||||
$(LOCAL_FLAGS)
|
||||
|
||||
-CXX=g++
|
||||
-CC=gcc
|
||||
+CXX=$(TARGET_CXX)
|
||||
+CC=$(TARGET_CC)
|
||||
CC_SHARED=-fPIC
|
||||
LINK_SHARED=-fPIC -shared
|
||||
|
Loading…
x
Reference in New Issue
Block a user