diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-cdr/mode2cdmaker |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-cdr/mode2cdmaker')
-rw-r--r-- | app-cdr/mode2cdmaker/Manifest | 6 | ||||
-rw-r--r-- | app-cdr/mode2cdmaker/files/mode2cdmaker-1.5.1-gentoo.patch | 46 | ||||
-rw-r--r-- | app-cdr/mode2cdmaker/metadata.xml | 5 | ||||
-rw-r--r-- | app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild | 34 |
4 files changed, 91 insertions, 0 deletions
diff --git a/app-cdr/mode2cdmaker/Manifest b/app-cdr/mode2cdmaker/Manifest new file mode 100644 index 000000000000..8a62ff36c296 --- /dev/null +++ b/app-cdr/mode2cdmaker/Manifest @@ -0,0 +1,6 @@ +AUX mode2cdmaker-1.5.1-gentoo.patch 1479 SHA256 432d162e99f120f889ccf1f422763098e66edd78b368bfab0ab745636a4cb5aa SHA512 c88dbebb84183c8a47e185de0890bcccde5d5dd99a7942166d0d388a96c14269a38549906dfc0e982fd3fc31c47e75898f811c01b76de28c2625840e230c1f3c WHIRLPOOL 43e75e87a877fc44c96dc10b4d019d23c848dc481bad79a0b98c8217d684242534a4e78bc006456533a4d08eb204b938b096b20fb8fcd28fc8d97bf57a2c861f +DIST mode2cdmaker-1.5.1-src.zip 57049 SHA256 d38f47cffe5d1276d1af9e8998a1100dc93e4d708cf284e6c3d8822f2bb6f38d SHA512 854aea23ae83521f689c5e4d91e6b3aba3e0977a987eb5a88fd340bb2b3f795ba76bf227a84727f3792b4f2453b4a4710d5e3782ccbfda79569506c23e77302f WHIRLPOOL 35b8dba61839c478bfcf1a6d83db51f9691b985b72402a317e7a9a1aabc1181419f6ed4d615d7429ce0f3fea599735446e5c9f830c1ad32f8f212fd4877f0489 +EBUILD mode2cdmaker-1.5.1.ebuild 619 SHA256 491c7f9e5771e4dbc45bfeda2bcd67bb41566b90016823d91fb7bfbfc3b9eac4 SHA512 e89a7ed26f14b7f4f35f50d916134c5db3d5deedbbe0e09894317f605d2e0e53f138426bb7220a484c8f4e5b33ac903184226685ab04d89ea0065c5e7f88a8d4 WHIRLPOOL 4f053d8282852ca3051f4e345d315797a2c02b3c2804779fb3f434a8d49189759c05d69bf2319e36e1a997d6ea0f6951f3a6c6550260dc57f10f11898fa63eed +MISC ChangeLog 2541 SHA256 97b8a3d653eda1427f80f1fe56918d8d577d341960190a4cdc6490e413692799 SHA512 422f52acc6baf12705d1cbdaac65ee2f94a60356823306e264b739556a3c014ab4cec59f97991b7cdfc92c7dcf2621e82428a38c2c9f2997a93671a3622a367d WHIRLPOOL fdab099174f7fb125d4f051646ad117865ada1a8549d4771efd46ced5198f4914e223ec1208dc9ee04fe48ecf27d14f365ec7d927e015c4e7e8c7812d8168ad1 +MISC ChangeLog-2015 1066 SHA256 70d0813e2cfe4a30eaa72953935d0866210cf0ca0584a40fd1aa5afa3324e0de SHA512 ec55273e228c4ccd215775288e866435040ce589a928d24c2afd4b9543661d1d29d3662f259fed8a9c8db40284bb4900c12aaa2938f68028c76b7cb1b8280ee4 WHIRLPOOL 0362cd7afc752314432f62760595652141424e8f26d669e18113691b2d2351c1fc050cd5f4a0f65dfd7a35baefd6b099ed65a46ba8d7c453e5aae463f88ac679 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-cdr/mode2cdmaker/files/mode2cdmaker-1.5.1-gentoo.patch b/app-cdr/mode2cdmaker/files/mode2cdmaker-1.5.1-gentoo.patch new file mode 100644 index 000000000000..502819c11df3 --- /dev/null +++ b/app-cdr/mode2cdmaker/files/mode2cdmaker-1.5.1-gentoo.patch @@ -0,0 +1,46 @@ +diff -ur mode2cdmaker-1.5.1.orig/Makefile.linux mode2cdmaker-1.5.1/Makefile.linux +--- mode2cdmaker-1.5.1.orig/Makefile.linux 2003-02-01 16:27:18.000000000 +0200 ++++ mode2cdmaker-1.5.1/Makefile.linux 2008-06-15 19:24:14.000000000 +0300 +@@ -4,8 +4,8 @@ + output=mode2cdmaker + + all: +- gcc -c $(srcs) +- gcc -o $(output) $(objs) ++ $(CC) ${CFLAGS} -DMAX_PATH=512 -c $(srcs) ++ $(CC) ${LDFLAGS} -o $(output) $(objs) + + clean: + -rm -f $(objs) $(output) +diff -ur mode2cdmaker-1.5.1.orig/mkvcdfs.c mode2cdmaker-1.5.1/mkvcdfs.c +--- mode2cdmaker-1.5.1.orig/mkvcdfs.c 2003-03-14 19:57:38.000000000 +0200 ++++ mode2cdmaker-1.5.1/mkvcdfs.c 2008-06-15 19:23:25.000000000 +0300 +@@ -120,6 +120,7 @@ + #endif
+ #endif
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <fcntl.h>
+ #include <string.h>
+ #include <ctype.h>
+@@ -629,7 +630,7 @@ + next_command[1]=(char*)malloc(256);
+ while (fgets(next_command[1],256,pf))
+ {
+- next_command[1][lstrlen(next_command[1])-1]=0;
++ next_command[1][strlen(next_command[1])-1]=0;
+ parse_params(2,next_command,idepth+1);
+ }
+ fclose(pf);
+diff -ur mode2cdmaker-1.5.1.orig/vcdisofs.c mode2cdmaker-1.5.1/vcdisofs.c +--- mode2cdmaker-1.5.1.orig/vcdisofs.c 2003-02-02 00:02:44.000000000 +0200 ++++ mode2cdmaker-1.5.1/vcdisofs.c 2008-06-15 19:19:59.000000000 +0300 +@@ -80,6 +80,8 @@ + #include <windows.h>
+ #endif
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <time.h>
+ #include "defaults.h"
+
diff --git a/app-cdr/mode2cdmaker/metadata.xml b/app-cdr/mode2cdmaker/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-cdr/mode2cdmaker/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild b/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild new file mode 100644 index 000000000000..f5b507e415aa --- /dev/null +++ b/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Utility to create mode-2 CDs, for example XCDs" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="mirror://gentoo/${P}-src.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + tc-export CC + emake -f Makefile.linux || die +} + +src_install() { + dobin mode2cdmaker || die + dodoc {bugs,compatibility,readme}.txt +} |