author | Michael Krelin <hacker@klever.net> | 2007-04-16 21:06:52 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-16 21:06:52 (UTC) |
commit | c485564f09642aefcfa2ec23ac887589f7dc1843 (patch) (unidiff) | |
tree | d8e455cf026d9e5faf9bf08c4cd0d63167bee30d | |
parent | 2ae8ba67d6f323d3678af8b2918cd757ca13a447 (diff) | |
download | misc-c485564f09642aefcfa2ec23ac887589f7dc1843.zip misc-c485564f09642aefcfa2ec23ac887589f7dc1843.tar.gz misc-c485564f09642aefcfa2ec23ac887589f7dc1843.tar.bz2 |
app-pda/makeztxt: make 32bits on amd64
-rw-r--r-- | app-pda/makeztxt/Manifest | 12 | ||||
-rw-r--r-- | app-pda/makeztxt/files/makeztxt-1.60-cflags.patch | 18 | ||||
-rw-r--r-- | app-pda/makeztxt/makeztxt-1.60.ebuild | 14 |
3 files changed, 39 insertions, 5 deletions
diff --git a/app-pda/makeztxt/Manifest b/app-pda/makeztxt/Manifest index 383a2b5..776a84f 100644 --- a/app-pda/makeztxt/Manifest +++ b/app-pda/makeztxt/Manifest | |||
@@ -1,8 +1,12 @@ | |||
1 | AUX makeztxt-1.60-cflags.patch 317 RMD160 20132e66163c86e200ad07534b8079e6779c0886 SHA1 82f5e340ef5ad59f26e70958ec6441e1b238d240 SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36 | ||
2 | MD5 f2e2430799624b5006d9969e882b9c64 files/makeztxt-1.60-cflags.patch 317 | ||
3 | RMD160 20132e66163c86e200ad07534b8079e6779c0886 files/makeztxt-1.60-cflags.patch 317 | ||
4 | SHA256 b8775936be431edbee74cae0a0c089569d22d8990056ed2dd30c3beb08dcea36 files/makeztxt-1.60-cflags.patch 317 | ||
1 | DIST makeztxt-1.60-src.tar.gz 39508 RMD160 3ed195189fb8eaa7dd07c2e85fa48f78cc48b463 SHA1 4898339761e339021b7e840ea7985b44671e5f7e SHA256 016b1542e40819e2854cf617c2ab08c7f9aebc26dd613673e81a95603dde7146 | 5 | DIST makeztxt-1.60-src.tar.gz 39508 RMD160 3ed195189fb8eaa7dd07c2e85fa48f78cc48b463 SHA1 4898339761e339021b7e840ea7985b44671e5f7e SHA256 016b1542e40819e2854cf617c2ab08c7f9aebc26dd613673e81a95603dde7146 |
2 | EBUILD makeztxt-1.60.ebuild 496 RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c SHA1 cbbf71ac65a424fd0ac7c867ea5e9cf0a37bb025 SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 | 6 | EBUILD makeztxt-1.60.ebuild 740 RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 SHA1 e75f1fe57b5547b68e199d57cad0c4740f0018b0 SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0 |
3 | MD5 3d3435efa7dff2f14ff17624122f3d58 makeztxt-1.60.ebuild 496 | 7 | MD5 a0f71c8205e3fdea74f106bee148d13f makeztxt-1.60.ebuild 740 |
4 | RMD160 b17afb59278eb4b962888f4fe49c6110be84e07c makeztxt-1.60.ebuild 496 | 8 | RMD160 296c61df4340bb74ec29f168346b4f9b36fa7cc2 makeztxt-1.60.ebuild 740 |
5 | SHA256 16f3b7428051ba8293753981bb34f219c13ccc06c894ff3a4a0aa155dad36c84 makeztxt-1.60.ebuild 496 | 9 | SHA256 654db7a8423e973623098d6446a2e5d7973e24c9e2942657f6831603df0885a0 makeztxt-1.60.ebuild 740 |
6 | MD5 afff228786104676f58e219cdd4c3a13 files/digest-makeztxt-1.60 250 | 10 | MD5 afff228786104676f58e219cdd4c3a13 files/digest-makeztxt-1.60 250 |
7 | RMD160 fa466d1277b7af62d83c2bd526311142b67a4234 files/digest-makeztxt-1.60 250 | 11 | RMD160 fa466d1277b7af62d83c2bd526311142b67a4234 files/digest-makeztxt-1.60 250 |
8 | SHA256 dcd4092ca32ac7a40c3a3a310b881015e627eb4ed6d2d208ac8ac6df43526a5b files/digest-makeztxt-1.60 250 | 12 | SHA256 dcd4092ca32ac7a40c3a3a310b881015e627eb4ed6d2d208ac8ac6df43526a5b files/digest-makeztxt-1.60 250 |
diff --git a/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch b/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch new file mode 100644 index 0000000..e30f504 --- a/dev/null +++ b/app-pda/makeztxt/files/makeztxt-1.60-cflags.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | diff --git a/Makefile b/Makefile | ||
2 | index 17c5302..47f5075 100644 | ||
3 | --- a/Makefile | ||
4 | +++ b/Makefile | ||
5 | @@ -6,11 +6,11 @@ | ||
6 | |||
7 | VERSION= 1.60 | ||
8 | |||
9 | -LIBS= -lztxt | ||
10 | +LIBS+= -lztxt | ||
11 | INCLUDE= -I../common -I. | ||
12 | |||
13 | CC= gcc | ||
14 | -CFLAGS= -Wall -O2 -pipe $(INCLUDE) | ||
15 | +CFLAGS+= -Wall -O2 -pipe $(INCLUDE) | ||
16 | # GNU make is mandatory | ||
17 | #MAKE= make | ||
18 | |||
diff --git a/app-pda/makeztxt/makeztxt-1.60.ebuild b/app-pda/makeztxt/makeztxt-1.60.ebuild index 08e75ee..164114f 100644 --- a/app-pda/makeztxt/makeztxt-1.60.ebuild +++ b/app-pda/makeztxt/makeztxt-1.60.ebuild | |||
@@ -1,23 +1,35 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | 1 | # Copyright 1999-2007 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 | 2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: $ | 3 | # $Header: $ |
4 | 4 | ||
5 | inherit eutils | 5 | inherit eutils |
6 | DESCRIPTION="text document for weasel reader converter" | 6 | DESCRIPTION="text document for weasel reader converter" |
7 | HOMEPAGE="http://gutenpalm.sourceforge.net/" | 7 | HOMEPAGE="http://gutenpalm.sourceforge.net/" |
8 | SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz" | 8 | SRC_URI="mirror://sourceforge/gutenpalm/${P}-src.tar.gz" |
9 | 9 | ||
10 | LICENSE="GPL-2" | 10 | LICENSE="GPL-2" |
11 | SLOT="0" | 11 | SLOT="0" |
12 | KEYWORDS="x86 amd64" | 12 | KEYWORDS="x86 amd64" |
13 | IUSE="" | 13 | IUSE="" |
14 | DEPEND="sys-libs/zlib" | 14 | RDEPEND=" |
15 | sys-libs/zlib | ||
16 | amd64? ( app-emulation/emul-linux-x86-baselibs ) | ||
17 | " | ||
18 | DEPEND="${RDEPEND}" | ||
19 | |||
20 | src_unpack() { | ||
21 | unpack $A | ||
22 | cd "$S" | ||
23 | epatch "${FILESDIR}/${P}-cflags.patch" | ||
24 | } | ||
15 | 25 | ||
16 | src_compile() { | 26 | src_compile() { |
27 | CFLAGS="${CFLAGS} $(use amd64 && echo -m32)" \ | ||
28 | LIBS="${LIBS} $(use amd64 && echo -m32)" \ | ||
17 | emake || die "emake failed" | 29 | emake || die "emake failed" |
18 | } | 30 | } |
19 | 31 | ||
20 | src_install() { | 32 | src_install() { |
21 | dobin ${PN} | 33 | dobin ${PN} |
22 | dodoc COPYING ChangeLog README .makeztxtrc | 34 | dodoc COPYING ChangeLog README .makeztxtrc |
23 | } | 35 | } |