1 #############################################################
5 #############################################################
6 # Copyright (C) 2002 by Tom Walsh <Tom@OpenHardware.net>
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU Library General Public License as
10 # published by the Free Software Foundation; either version 2 of the
11 # License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Library General Public License for more details.
18 # You should have received a copy of the GNU Library General Public
19 # License along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 RXVT_SOURCE
:=rxvt-2.6
.4.
tar.bz2
24 RXVT_PATCH
:=$(SOURCE_DIR
)/rxvt-2.6
.4.patch
25 RXVT_SITE
:=ftp
://ftp.rxvt.org
/pub
/rxvt
/
27 RXVT_DIR
:=$(BUILD_DIR
)/rxvt-2.6
.4
28 RXVT_BINARY
:=$(RXVT_DIR
)/src
/rxvt
30 $(DL_DIR
)/$(RXVT_SOURCE
):
31 $(WGET
) -P
$(DL_DIR
) $(RXVT_SITE
)/$(RXVT_SOURCE
)
33 rxvt-source
: $(DL_DIR
)/$(RXVT_SOURCE
)
35 $(RXVT_DIR
)/.unpacked
: $(DL_DIR
)/$(RXVT_SOURCE
)
36 $(RXVT_CAT
) $(DL_DIR
)/$(RXVT_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
37 touch
$(RXVT_DIR
)/.unpacked
39 $(RXVT_DIR
)/.configured
: $(RXVT_DIR
)/.unpacked
40 (cd
$(RXVT_DIR
); rm -rf config.cache
; \
41 $(TARGET_CONFIGURE_OPTS
) \
43 --target
=$(GNU_TARGET_NAME
) \
44 --host
=$(GNU_TARGET_NAME
) \
45 --build
=$(GNU_HOST_NAME
) \
49 --x-includes
=$(TINYX_DIR
)/exports
/include \
50 --x-libraries
=$(TINYX_DIR
)/exports
/lib \
52 cat
$(RXVT_PATCH
) | patch
-d
$(RXVT_DIR
) -p1
53 touch
$(RXVT_DIR
)/.configured
55 $(RXVT_BINARY
): $(RXVT_DIR
)/.configured
56 $(MAKE
) CC
=$(TARGET_CC
) -C
$(RXVT_DIR
)
57 $(STRIP
) -x
$(RXVT_BINARY
)
59 $(TARGET_DIR
)/usr
/X11R6
/bin
/rxvt
: $(RXVT_BINARY
)
60 cp
-f
$(RXVT_BINARY
) $(TARGET_DIR
)/usr
/X11R6
/bin
62 rxvt
: tinyx
$(TARGET_DIR
)/usr
/X11R6
/bin
/rxvt
65 rm -f
$(TARGET_DIR
)/usr
/X11R6
/bin
/rxvt
66 -$(MAKE
) -C
$(RXVT_DIR
) clean
This page took 0.041549 seconds and 5 git commands to generate.