1 #############################################################
5 #############################################################
9 # Don't alter below this line unless you (think) you know
10 # what you are doing! Danger, Danger!
12 SOCAT_SOURCE
=socat-
$(SOCAT_VERSION
).
tar.bz2
13 SOCAT_SITE
=http
://www.dest-unreach.org
/socat
/download
/
14 #SOCAT_DIR=$(BUILD_DIR)/${shell basename $(SOCAT_SOURCE) .tar.bz2}
15 SOCAT_DIR
=$(BUILD_DIR
)/socat-1.3
16 #SOCAT_WORKDIR=$(BUILD_DIR)/socat_workdir
17 SOCAT_WORKDIR
=$(SOCAT_DIR
)
19 $(DL_DIR
)/$(SOCAT_SOURCE
):
20 $(WGET
) -P
$(DL_DIR
) $(SOCAT_SITE
)/$(SOCAT_SOURCE
)
22 $(SOCAT_DIR
)/.unpacked
: $(DL_DIR
)/$(SOCAT_SOURCE
)
23 bzip2
-d
-c
$(DL_DIR
)/$(SOCAT_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
24 touch
$(SOCAT_DIR
)/.unpacked
26 $(SOCAT_WORKDIR
)/Makefile
: $(SOCAT_DIR
)/.unpacked
27 rm -f
$(SOCAT_WORKDIR
)/Makefile
28 mkdir
-p
$(SOCAT_WORKDIR
)
29 (cd
$(SOCAT_WORKDIR
); rm -rf config.cache
; \
30 $(TARGET_CONFIGURE_OPTS
) \
31 $(SOCAT_DIR
)/configure \
32 --target
=$(GNU_TARGET_NAME
) \
33 --host
=$(GNU_TARGET_NAME
) \
34 --build
=$(GNU_HOST_NAME
) \
39 --libexecdir
=/usr
/lib \
41 --datadir=/usr
/share \
42 --localstatedir
=/var \
48 $(SOCAT_WORKDIR
)/socat
: $(SOCAT_WORKDIR
)/Makefile
50 $(MAKE
) -C
$(SOCAT_WORKDIR
)
52 $(SOCAT_WORKDIR
)/.installed
: $(SOCAT_WORKDIR
)/socat
53 mkdir
-p
$(TARGET_DIR
)/usr
/man
/man1
54 $(MAKE
) -C
$(SOCAT_WORKDIR
) install prefix=$(TARGET_DIR
)/usr
56 socat
: uclibc
$(SOCAT_WORKDIR
)/.installed
58 socat-source
: $(DL_DIR
)/$(SOCAT_SOURCE
)
61 @if
[ -d
$(SOCAT_WORKDIR
)/Makefile
] ; then \
62 $(MAKE
) -C
$(SOCAT_WORKDIR
) clean ; \
66 rm -rf
$(SOCAT_DIR
) $(SOCAT_WORKDIR
)
This page took 0.049318 seconds and 5 git commands to generate.