bchunk: add package

This commit is contained in:
Lukas Rusak 2017-02-01 13:39:10 -08:00
parent 8b36cc8aba
commit 054a78aed9
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,35 @@
################################################################################
# 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="bchunk"
PKG_VERSION="1.2.0"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://he.fi/bchunk/"
PKG_URL="http://he.fi/bchunk/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="system"
PKG_SHORTDESC="binchunker converts a CD image in a .bin / .cue format (sometimes .raw / .cue) to a set of .iso and .cdr tracks"
PKG_LONGDESC="binchunker converts a CD image in a .bin / .cue format (sometimes .raw / .cue) to a set of .iso and .cdr tracks"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
makeinstall_target() {
:
}

View File

@ -0,0 +1,16 @@
diff -Naur a/Makefile b/Makefile
--- a/Makefile 2001-08-02 05:51:40.000000000 -0700
+++ b/Makefile 2016-10-23 10:47:21.682136676 -0700
@@ -1,9 +1,9 @@
all: bchunk
# For systems with GCC (Linux, and others with GCC installed):
-CC = gcc
-LD = gcc
-CFLAGS = -Wall -Wstrict-prototypes -O2
+CC ?= gcc
+LD = $(CC)
+CFLAGS ?= -Wall -Wstrict-prototypes -O2
# For systems with a legacy CC:
#CC = cc