summaryrefslogtreecommitdiff
blob: 32865602bc0d58e346c8ff917dffb8abc3668d60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Nick Hadaway <raker@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/gnustep-make/gnustep-make-1.3.3.ebuild,v 1.1 2002/07/04 12:24:53 raker Exp $

DESCRIPTION="GNUstep makefile package (unstable)"
HOMEPAGE="http://www.gnustep.org"
LICENSE="LGPL"
DEPEND="virtual/glibc
	>=sys-devel/gcc-3.1
	>=dev-libs/ffcall-1.8d
	>=dev-libs/gmp-3.1.1
	>=dev-util/guile-1.4
	>=dev-libs/openssl-0.9.6d
	>=media-libs/tiff-3.5.7-r1
	>=dev-libs/libxml2-2.4.22
	>=x11-wm/WindowMaker-0.80.1"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"

src_compile() {
	./configure \
		--host=${CHOST} || die "./configure failed"
	emake || die
}

src_install () {
	mkdir -p ${D}/usr/GNUstep/System \
		${D}/usr/GNUstep/System/Makefiles \
        	${D}/usr/GNUstep/System/Makefiles/ix86 \
       		${D}/usr/GNUstep/System/Makefiles/ix86/linux-gnu \
        	${D}/usr/GNUstep/System/Makefiles/Additional \
        	${D}/usr/GNUstep/System/Makefiles/Master \
        	${D}/usr/GNUstep/System/Makefiles/Instance \
        	${D}/usr/GNUstep/System/Makefiles/Instance/Shared \
        	${D}usr/GNUstep/System/Tools \
        	${D}usr/GNUstep/System/share \
        	${D}usr/GNUstep/System/Applications \
        	${D}/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu \
        	${D}/usr/GNUstep/System/Libraries/Resources \
        	${D}/usr/GNUstep/System/Libraries/Java \
        	${D}/usr/GNUstep/System/Headers/ix86/linux-gnu \
        	${D}/usr/GNUstep/System/Tools/ix86/linux-gnu/gnu-gnu-gnu \
        	${D}/usr/GNUstep/System/Tools/Java \
        	${D}/usr/GNUstep/System/Library/Bundles \
        	${D}/usr/GNUstep/System/Library/Colors \
        	${D}/usr/GNUstep/System/Library/Frameworks \
        	${D}/usr/GNUstep/System/Library/PostScript \
        	${D}/usr/GNUstep/System/Library/Services \
        	${D}/usr/GNUstep/System/Documentation/Developer \
        	${D}/usr/GNUstep/System/Documentation/User \
		${D}/usr/GNUstep/System/Documentation/info \
        	${D}/usr/GNUstep/System/Documentation/man \
        	${D}/usr/GNUstep/System/Developer/Palettes \
        	${D}/usr/GNUstep/Local/Applications \
        	${D}/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu \
        	${D}/usr/GNUstep/Local/Libraries/Resources \
        	${D}/usr/GNUstep/Local/Libraries/Java \
        	${D}/usr/GNUstep/Local/Headers/ix86/linux-gnu \
        	${D}/usr/GNUstep/Local/Tools/ix86/linux-gnu/gnu-gnu-gnu \
        	${D}/usr/GNUstep/Local/Tools/Java \
        	${D}/usr/GNUstep/Local/Library/Bundles \
        	${D}/usr/GNUstep/Local/Library/Colors \
        	${D}/usr/GNUstep/Local/Library/Frameworks \
        	${D}/usr/GNUstep/Local/Library/PostScript \
        	${D}/usr/GNUstep/Local/Library/Services \
        	${D}/usr/GNUstep/Local/Documentation/Developer \
        	${D}/usr/GNUstep/Local/Documentation/User \
        	${D}/usr/GNUstep/Local/Developer/Palettes \
        	${D}/usr/GNUstep/Local/Users \
        	${D}/usr/GNUstep/Local/Users/Administrator \
        	${D}/usr/GNUstep/Network

	insinto /usr/GNUstep/System/Makefiles/ix86/linux-gnu
	insopts -m 755
	doins which_lib user_home
		
	insinto /usr/GNUstep/System/Makefiles
	insopts -m 755
	doins config.guess config.sub install-sh mkinstalldirs \
        	clean_cpu.sh clean_os.sh clean_vendor.sh cpu.sh \
		ld_lib_path.sh os.sh transform_paths.sh vendor.sh \
        	ld_lib_path.csh fixpath.sh relative_path.sh \
		GNUstep.sh GNUstep-reset.sh GNUstep.csh

	insinto /usr/GNUstep/System/Tools
	insopts -m 755
	doins openapp debugapp opentool

	insinto /usr/GNUstep/System/Makefiles
	insopts -m 644
	doins aggregate.make application.make bundle.make service.make \
		common.make library-combo.make java.make jni.make \
		library.make rules.make target.make names.make \
		resource-set.make tool.make ctool.make test-library.make \
		objc.make test-application.make test-tool.make \
		subproject.make palette.make gswapp.make gswbundle.make \
		clibrary.make documentation.make java-executable.template \
		java-tool.make framework.make spec-rules.template \
		spec-debug-rules.template spec-debug-alone-rules.template \
		executable.template

	cd ./Master
	insinto /usr/GNUstep/System/Makefiles/Master
	insopts -m 644
	doins aggregate.make source-distribution.make rpm.make rules.make \
		application.make bundle.make clibrary.make ctool.make \
		documentation.make framework.make gswapp.make \
		gswbundle.make 	library.make objc.make java.make \
		java-tool.make palette.make resource-set.make service.make \
		subproject.make test-application.make test-library.make \
		test-tool.make tool.make
	
	cd ../Instance
	insinto /usr/GNUstep/System/Makefiles/Instance
	insopts -m 644
	doins rules.make application.make bundle.make clibrary.make \
		ctool.make documentation.make framework.make gswapp.make \
		gswbundle.make library.make objc.make java.make \
		java-tool.make palette.make resource-set.make service.make \
		subproject.make test-application.make test-library.make \
		test-tool.make tool.make

	cd ./Shared
	insinto /usr/GNUstep/System/Makefiles/Instance/Shared
	insopts -m 644
	doins bundle.make headers.make java.make

	cd ../../
	insinto /usr/GNUstep/System/share
	insopts -m 644
	doins config.site

	insinto /usr/GNUstep/System/Makefiles/ix86/linux-gnu
	insopts -m 644
	doins config.make
}