diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 02:37:19 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2008-01-06 02:37:19 +0000 |
commit | 8542f614cb6c4ee81ee2e311ac6e47fce0e50f56 (patch) | |
tree | acbf734378aa582fa332c9f92f5fcf64e47749c1 /app-text/mbtpdfasm | |
parent | pull in pkg-config #204467 (diff) | |
download | historical-8542f614cb6c4ee81ee2e311ac6e47fce0e50f56.tar.gz historical-8542f614cb6c4ee81ee2e311ac6e47fce0e50f56.tar.bz2 historical-8542f614cb6c4ee81ee2e311ac6e47fce0e50f56.zip |
version bump.
Package-Manager: portage-2.1.4_rc14
Diffstat (limited to 'app-text/mbtpdfasm')
-rw-r--r-- | app-text/mbtpdfasm/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/mbtpdfasm/Manifest | 29 | ||||
-rw-r--r-- | app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.28 | 6 | ||||
-rw-r--r-- | app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-64bit.diff | 37 | ||||
-rw-r--r-- | app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-main.diff | 11 | ||||
-rw-r--r-- | app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-makefile.diff | 101 | ||||
-rw-r--r-- | app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild | 38 |
7 files changed, 227 insertions, 6 deletions
diff --git a/app-text/mbtpdfasm/ChangeLog b/app-text/mbtpdfasm/ChangeLog index 3d2fb4892fe8..62ac23e6bd46 100644 --- a/app-text/mbtpdfasm/ChangeLog +++ b/app-text/mbtpdfasm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/mbtpdfasm -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/ChangeLog,v 1.3 2006/07/26 16:38:37 sbriesen Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/ChangeLog,v 1.4 2008/01/06 02:37:18 sbriesen Exp $ + +*mbtpdfasm-1.0.28 (06 Jan 2008) + + 06 Jan 2008; Stefan Briesenick <sbriesen@gentoo.org> + +files/mbtpdfasm-1.0.28-64bit.diff, +files/mbtpdfasm-1.0.28-main.diff, + +files/mbtpdfasm-1.0.28-makefile.diff, +mbtpdfasm-1.0.28.ebuild: + version bump. *mbtpdfasm-1.0.26-r2 (26 Jul 2006) diff --git a/app-text/mbtpdfasm/Manifest b/app-text/mbtpdfasm/Manifest index bb650a1bd4c2..46b1fac83132 100644 --- a/app-text/mbtpdfasm/Manifest +++ b/app-text/mbtpdfasm/Manifest @@ -6,7 +6,21 @@ AUX mbtpdfasm-1.0.26-gcc4.patch 1047 RMD160 d0955d9eeb79fa69f88a2537502a986acf70 MD5 9e1505082f60b5ba3f581ceb96adb3a4 files/mbtpdfasm-1.0.26-gcc4.patch 1047 RMD160 d0955d9eeb79fa69f88a2537502a986acf701a70 files/mbtpdfasm-1.0.26-gcc4.patch 1047 SHA256 3fe7a1107edfc9b6994bda21eaee8350232247e6570f8dfa3ae4860683d03664 files/mbtpdfasm-1.0.26-gcc4.patch 1047 +AUX mbtpdfasm-1.0.28-64bit.diff 1461 RMD160 05738e53a55e8044b532e9f0f5617cb5f8bea565 SHA1 56d441ac94d3c4fdb6e78797320e5b6d49ec05fa SHA256 2a7163a174ca92f6f60a14a3db3ed4cc4e865db72080acfc2d8f13d86bc54023 +MD5 9bde97ecdc247b2f275fcb2f290c7c55 files/mbtpdfasm-1.0.28-64bit.diff 1461 +RMD160 05738e53a55e8044b532e9f0f5617cb5f8bea565 files/mbtpdfasm-1.0.28-64bit.diff 1461 +SHA256 2a7163a174ca92f6f60a14a3db3ed4cc4e865db72080acfc2d8f13d86bc54023 files/mbtpdfasm-1.0.28-64bit.diff 1461 +AUX mbtpdfasm-1.0.28-main.diff 402 RMD160 04bcda2647f6b742a42d7d4ae9653452ee2fde7a SHA1 eee20c1d676d56c6d25b52aebb6a42f09307370a SHA256 2994c8d474a1496a4405e35b8185bcb43f05557450d859cf1682af7f8f9ea245 +MD5 d45dd035fb0b12df9cafc90f7e0643de files/mbtpdfasm-1.0.28-main.diff 402 +RMD160 04bcda2647f6b742a42d7d4ae9653452ee2fde7a files/mbtpdfasm-1.0.28-main.diff 402 +SHA256 2994c8d474a1496a4405e35b8185bcb43f05557450d859cf1682af7f8f9ea245 files/mbtpdfasm-1.0.28-main.diff 402 +AUX mbtpdfasm-1.0.28-makefile.diff 3935 RMD160 20d342b42b3d5c635501697aa31b09ac9e8a9170 SHA1 8dd3f529490054f0196d47a5f85da4b1fe165b6f SHA256 2e14079109308ada8885259d4ad8a2b11c4e08926a117fae68471d435b6f5857 +MD5 4c43fcef53d3a667c8eadd6b457eccce files/mbtpdfasm-1.0.28-makefile.diff 3935 +RMD160 20d342b42b3d5c635501697aa31b09ac9e8a9170 files/mbtpdfasm-1.0.28-makefile.diff 3935 +SHA256 2e14079109308ada8885259d4ad8a2b11c4e08926a117fae68471d435b6f5857 files/mbtpdfasm-1.0.28-makefile.diff 3935 DIST mbtPdfAsm-1.0.26.tar.gz 258630 RMD160 014fb4ee022561a02b286ffc5b8c1a10c3c8418c SHA1 bc33f908c04a1c7eb6093aea30d9b44c9c317a3f SHA256 13b5e44f245941da701da86e51ebbbd0b0b0632021360df4dd296b73d2b6085a +DIST mbtPdfAsm-1.0.28.tar.gz 253032 RMD160 f7147a2a5d996a691e41997e8e5a03eae6071326 SHA1 82dbb5ed368e1003a9092a283a0845da1fbb6b76 SHA256 e416aab7d805308f82f3cbe91f964eab6be5da8a232bd52e13a048740194048f +DIST mbtpdfasm-1.0.28-manual.pdf.bz2 6581 RMD160 7ef2032791c219c5aa81db8d8fef75e5fc21c24b SHA1 9c2a6ad273957d45280b01df89a96cb1d1433e48 SHA256 648a21a665098815dc0ae9ec1b2faa8f24a0e99ab64af1dbadf54515959cff89 EBUILD mbtpdfasm-1.0.26-r1.ebuild 1360 RMD160 f3f238baefd0e121264a512520aa340e4c52eedc SHA1 f36d8b9f3c7aa896adfb57ace6e50a8339828735 SHA256 e337a23641925646dbd267a234f35558f5b521ecb51fec923ea607c50a87ad9f MD5 32858bba0c2d0a391f9be353447d18d6 mbtpdfasm-1.0.26-r1.ebuild 1360 RMD160 f3f238baefd0e121264a512520aa340e4c52eedc mbtpdfasm-1.0.26-r1.ebuild 1360 @@ -15,10 +29,14 @@ EBUILD mbtpdfasm-1.0.26-r2.ebuild 1399 RMD160 03bb6f68680b9935a17c67e10b198b12e0 MD5 3bd8b4184f05d28a58b7ebfb2a546847 mbtpdfasm-1.0.26-r2.ebuild 1399 RMD160 03bb6f68680b9935a17c67e10b198b12e0fd9aa7 mbtpdfasm-1.0.26-r2.ebuild 1399 SHA256 4aa3543e25c2a7b7b064694b0863fe85a7fe2ff4df507d352cc9b0c2fdb83462 mbtpdfasm-1.0.26-r2.ebuild 1399 -MISC ChangeLog 792 RMD160 a5aa14f093ef1cb69f5eadd01af43acfffe8f693 SHA1 d43d72b9d452e524f6a6a520c121119a60e50d74 SHA256 a398877fc318a34e16bef002e53e42199de28a6f0f04754d0335b392e1577cbe -MD5 913370c69cc90122373671a90ea54fbd ChangeLog 792 -RMD160 a5aa14f093ef1cb69f5eadd01af43acfffe8f693 ChangeLog 792 -SHA256 a398877fc318a34e16bef002e53e42199de28a6f0f04754d0335b392e1577cbe ChangeLog 792 +EBUILD mbtpdfasm-1.0.28.ebuild 1034 RMD160 f142a88bc5ae2bb28f98269ba8092295f73a13c2 SHA1 61506bc2dbed653dddf92871156f0cd4c12712de SHA256 b80b39297a2ed1143bc924d51d35ec0308271e8b498f79cd7107fbc4d6c8963a +MD5 81dcd3c7139705ce28d639d532fe3311 mbtpdfasm-1.0.28.ebuild 1034 +RMD160 f142a88bc5ae2bb28f98269ba8092295f73a13c2 mbtpdfasm-1.0.28.ebuild 1034 +SHA256 b80b39297a2ed1143bc924d51d35ec0308271e8b498f79cd7107fbc4d6c8963a mbtpdfasm-1.0.28.ebuild 1034 +MISC ChangeLog 1037 RMD160 d49d0c89502abfed09270086fab6c95d8583d682 SHA1 9994775aeef82f36488315d4be0a988c4bf23941 SHA256 c09526ac483a298a3f16e2fc23e63c5829be70ac183ba17eb1164fded3bf2b0d +MD5 a0b3cca5da4628b8dc49e375c668a9d2 ChangeLog 1037 +RMD160 d49d0c89502abfed09270086fab6c95d8583d682 ChangeLog 1037 +SHA256 c09526ac483a298a3f16e2fc23e63c5829be70ac183ba17eb1164fded3bf2b0d ChangeLog 1037 MISC metadata.xml 441 RMD160 7ccad357d6ccf4e61917d0855832f618df01298b SHA1 3c693af4a4e142c5546f8e6cb4b9ea37e6a43f4e SHA256 1f8a618fe12a4ba9d5166ba0f4ed5b163df45137f93dcc665e06fab1599e6281 MD5 1a2146577d6cf6736c81e65fa99c6875 metadata.xml 441 RMD160 7ccad357d6ccf4e61917d0855832f618df01298b metadata.xml 441 @@ -29,3 +47,6 @@ SHA256 350ccef86a78a994225f1cf7b212ac30ed7e32b14010a2cfbf90cc0a9c77cc44 files/di MD5 2dd6d662aaead3a85a057f8ef75c29e4 files/digest-mbtpdfasm-1.0.26-r2 250 RMD160 a11171ad56efe728c0d9ee1ba68d5488a601c722 files/digest-mbtpdfasm-1.0.26-r2 250 SHA256 350ccef86a78a994225f1cf7b212ac30ed7e32b14010a2cfbf90cc0a9c77cc44 files/digest-mbtpdfasm-1.0.26-r2 250 +MD5 5963f4c848fbfb432aebd664ca155029 files/digest-mbtpdfasm-1.0.28 518 +RMD160 70a761e17ec7d47bd26fe57656482ef650cccef4 files/digest-mbtpdfasm-1.0.28 518 +SHA256 d3bb81a84c1bd2fcb0e48a72cd75d438b9915c4b52a271aacff6c67a8a6be868 files/digest-mbtpdfasm-1.0.28 518 diff --git a/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.28 b/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.28 new file mode 100644 index 000000000000..8379b5651172 --- /dev/null +++ b/app-text/mbtpdfasm/files/digest-mbtpdfasm-1.0.28 @@ -0,0 +1,6 @@ +MD5 b08857f4ce058624a6aab022b1df3acd mbtPdfAsm-1.0.28.tar.gz 253032 +RMD160 f7147a2a5d996a691e41997e8e5a03eae6071326 mbtPdfAsm-1.0.28.tar.gz 253032 +SHA256 e416aab7d805308f82f3cbe91f964eab6be5da8a232bd52e13a048740194048f mbtPdfAsm-1.0.28.tar.gz 253032 +MD5 f02ae1fcb4d02a7180436b1c2639f681 mbtpdfasm-1.0.28-manual.pdf.bz2 6581 +RMD160 7ef2032791c219c5aa81db8d8fef75e5fc21c24b mbtpdfasm-1.0.28-manual.pdf.bz2 6581 +SHA256 648a21a665098815dc0ae9ec1b2faa8f24a0e99ab64af1dbadf54515959cff89 mbtpdfasm-1.0.28-manual.pdf.bz2 6581 diff --git a/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-64bit.diff b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-64bit.diff new file mode 100644 index 000000000000..bd63327f29a5 --- /dev/null +++ b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-64bit.diff @@ -0,0 +1,37 @@ +--- pdfFile.hpp.orig 2007-07-26 16:32:50.000000000 +0200 ++++ pdfFile.hpp 2007-10-05 22:40:50.000000000 +0200 +@@ -161,7 +161,7 @@ +
+ //int findInheritRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
+ int makeRes(C_pdfFile *org, char *fBuf, int lg, char **pcRes);
+- int makeAttrib(C_pdfFile *org, char *fBuf, int lgOrgBuf, char **pcRes, char *add, int lgAdd);
++ int makeAttrib(C_pdfFile *org, char *fBuf, int lgOrgBuf, char **pcRes, int add, int lgAdd);
+
+ bool fast; // version rapide, on ne gère pas les options
+ bool closed; //protection plus rien n'est possible aprés l'appel à la fonction close
+--- pdfFile.cpp.orig 2007-08-22 20:44:31.000000000 +0200 ++++ pdfFile.cpp 2007-10-05 22:42:39.000000000 +0200 +@@ -934,7 +934,7 @@ + /* ********************************************** */ + #pragma warning(disable : 4100) + +-int C_pdfFile::makeAttrib(C_pdfFile *org, char *buf, int lgOrgBuf, char **pcRes, char *add, int lgAdd) { ++int C_pdfFile::makeAttrib(C_pdfFile *org, char *buf, int lgOrgBuf, char **pcRes, int add, int lgAdd) { + char *pc; + int lgRes, lgBuf, j, nObj, r; + +@@ -973,12 +973,12 @@ + } + + if ( (lgAdd != 0) && (add != 0) ) { +- switch ( (int)add ) { ++ switch ( add ) { + case _Resources: + + break; + default: +- memcpy(pc + lgRes, add + sizeof(int), lgAdd); ++ memcpy(pc + lgRes, (char *)add + sizeof(int), lgAdd); + lgRes += lgAdd; + } + } diff --git a/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-main.diff b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-main.diff new file mode 100644 index 000000000000..99b109d59332 --- /dev/null +++ b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-main.diff @@ -0,0 +1,11 @@ +--- main.cpp.orig 2007-07-30 15:25:27.000000000 +0200 ++++ main.cpp 2007-10-05 22:49:29.000000000 +0200 +@@ -52,7 +52,7 @@ + char tc[1000];
+ int i;
+
+- fprintf(output, "mbtPdfAsm %s\r\nusing PCRE 4.4 (http://www.pcre.org)\r\nsee at %s", strVersion, strMPAURL);
++ fprintf(output, "mbtPdfAsm %s\r\nusing PCRE 4.4 (http://www.pcre.org)\r\nsee at %s\n", strVersion, strMPAURL);
+
+ return 0;
+ }
diff --git a/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-makefile.diff b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-makefile.diff new file mode 100644 index 000000000000..278a3c03779b --- /dev/null +++ b/app-text/mbtpdfasm/files/mbtpdfasm-1.0.28-makefile.diff @@ -0,0 +1,101 @@ +--- makefile.orig 2007-07-26 19:33:54.000000000 +0200 ++++ makefile 2007-10-05 22:54:31.000000000 +0200 +@@ -10,66 +10,66 @@ + ZLIB = $(O)/adler32.o $(O)/compress.o $(O)/crc32.o $(O)/deflate.o $(O)/gzio.o $(O)/infback.o $(O)/inffast.o $(O)/inflate.o $(O)/inftrees.o $(O)/trees.o $(O)/uncompr.o $(O)/zutil.o + # + $(EXENAME): $(LF) $(ZLIB) +- $(CC) $(LF) $(ZLIB) -o $@ ++ $(CC) $(LDFLAGS) $(LF) $(ZLIB) -o $@ + $(O)/main.o: main.cpp +- $(CC) -c main.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c main.cpp -o $*.o + $(O)/pdfFile.o: pdfFile.cpp +- $(CC) -c pdfFile.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfFile.cpp -o $*.o + $(O)/pdfObject.o: pdfObject.cpp +- $(CC) -c pdfObject.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfObject.cpp -o $*.o + $(O)/pdfEncrypt.o: pdfEncrypt.cpp +- $(CC) -c pdfEncrypt.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfEncrypt.cpp -o $*.o + $(O)/pdfNames.o: pdfNames.cpp +- $(CC) -c pdfNames.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfNames.cpp -o $*.o + $(O)/pdfFileOutline.o: pdfFileOutline.cpp +- $(CC) -c pdfFileOutline.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfFileOutline.cpp -o $*.o + $(O)/pdfXrefTable.o: pdfXrefTable.cpp +- $(CC) -c pdfXrefTable.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfXrefTable.cpp -o $*.o + $(O)/string.o: string.cpp +- $(CC) -c string.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c string.cpp -o $*.o + $(O)/pdfString.o: pdfString.cpp +- $(CC) -c pdfString.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c pdfString.cpp -o $*.o + $(O)/rc4.o: rc4.cpp +- $(CC) -c rc4.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c rc4.cpp -o $*.o + $(O)/md5.o: md5.c +- $(CC) -c md5.c -o $*.o ++ $(CC) $(CXXFLAGS) -c md5.c -o $*.o + $(O)/listeFichiers_linux.o: listeFichiers_linux.cpp +- $(CC) -c listeFichiers_linux.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c listeFichiers_linux.cpp -o $*.o + $(O)/diversPdf.o: diversPdf.cpp +- $(CC) -c diversPdf.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c diversPdf.cpp -o $*.o + $(O)/strMatcher.o: strMatcher.cpp +- $(CC) -c strMatcher.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c strMatcher.cpp -o $*.o + $(O)/pcre.o: pcre.c +- $(CC) -c pcre.c -o $*.o ++ $(CC) $(CXXFLAGS) -c pcre.c -o $*.o + $(O)/study.o: study.c +- $(CC) -c study.c -o $*.o ++ $(CC) $(CXXFLAGS) -c study.c -o $*.o + $(O)/get.o: get.c +- $(CC) -c get.c -o $*.o ++ $(CC) $(CXXFLAGS) -c get.c -o $*.o + $(O)/maketables.o: maketables.c +- $(CC) -c maketables.c -o $*.o ++ $(CC) $(CXXFLAGS) -c maketables.c -o $*.o + $(O)/calc.o: calc.cpp +- $(CC) -c calc.cpp -o $*.o ++ $(CC) $(CXXFLAGS) -c calc.cpp -o $*.o + $(O)/adler32.o: adler32.c zlib.h zconf.h +- $(CC) -c adler32.c -o $*.o ++ $(CC) $(CXXFLAGS) -c adler32.c -o $*.o + $(O)/compress.o: compress.c zlib.h zconf.h +- $(CC) -c compress.c -o $*.o ++ $(CC) $(CXXFLAGS) -c compress.c -o $*.o + $(O)/crc32.o: crc32.c zlib.h zconf.h crc32.h +- $(CC) -c crc32.c -o $*.o ++ $(CC) $(CXXFLAGS) -c crc32.c -o $*.o + $(O)/deflate.o: deflate.c deflate.h zutil.h zlib.h zconf.h +- $(CC) -c deflate.c -o $*.o ++ $(CC) $(CXXFLAGS) -c deflate.c -o $*.o + $(O)/gzio.o: gzio.c zutil.h zlib.h zconf.h +- $(CC) -c gzio.c -o $*.o ++ $(CC) $(CXXFLAGS) -c gzio.c -o $*.o + $(O)/infback.o: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h inffixed.h +- $(CC) -c infback.c -o $*.o ++ $(CC) $(CXXFLAGS) -c infback.c -o $*.o + $(O)/inffast.o: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h +- $(CC) -c inffast.c -o $*.o ++ $(CC) $(CXXFLAGS) -c inffast.c -o $*.o + $(O)/inflate.o: inflate.c zutil.h zlib.h zconf.h inftrees.h inflate.h inffast.h inffixed.h +- $(CC) -c inflate.c -o $*.o ++ $(CC) $(CXXFLAGS) -c inflate.c -o $*.o + $(O)/inftrees.o: inftrees.c zutil.h zlib.h zconf.h inftrees.h +- $(CC) -c inftrees.c -o $*.o ++ $(CC) $(CXXFLAGS) -c inftrees.c -o $*.o + $(O)/trees.o: trees.c zutil.h zlib.h zconf.h deflate.h trees.h +- $(CC) -c trees.c -o $*.o ++ $(CC) $(CXXFLAGS) -c trees.c -o $*.o + $(O)/uncompr.o: uncompr.c zlib.h zconf.h +- $(CC) -c uncompr.c -o $*.o ++ $(CC) $(CXXFLAGS) -c uncompr.c -o $*.o + $(O)/zutil.o: zutil.c zutil.h zlib.h zconf.h +- $(CC) -c zutil.c -o $*.o ++ $(CC) $(CXXFLAGS) -c zutil.c -o $*.o diff --git a/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild b/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild new file mode 100644 index 000000000000..7d81c9ad114c --- /dev/null +++ b/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mbtpdfasm/mbtpdfasm-1.0.28.ebuild,v 1.1 2008/01/06 02:37:18 sbriesen Exp $ + +inherit eutils toolchain-funcs + +MY_P="mbtPdfAsm-${PV}" + +DESCRIPTION="mbtPdfAsm can assemble/merge PDF files, extract information from PDF files, and update the metadata in PDF files." +HOMEPAGE="http://thierry.schmit.free.fr/dev/mbtPdfAsm/mbtPdfAsm2.html" +SRC_URI="http://thierry.schmit.free.fr/spip/IMG/gz/${MY_P}.tar.gz + http://sbriesen.de/gentoo/distfiles/${P}-manual.pdf.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-makefile.diff" + epatch "${FILESDIR}/${P}-64bit.diff" + epatch "${FILESDIR}/${P}-main.diff" +} + +src_compile() { + emake CC="$(tc-getCXX)" || die "emake failed" +} + +src_install() { + dobin mbtPdfAsm || die "install failed" + insinto "/usr/share/doc/${PF}" + newins ${P}-manual.pdf mbtPdfAsm.pdf +} |