diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/socat |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/socat')
-rw-r--r-- | org.handhelds.familiar/packages/socat/socat-1.3.2.1/ldflags.patch | 32 | ||||
-rw-r--r-- | org.handhelds.familiar/packages/socat/socat_1.3.2.1.bb | 14 |
2 files changed, 46 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/socat/socat-1.3.2.1/ldflags.patch b/org.handhelds.familiar/packages/socat/socat-1.3.2.1/ldflags.patch new file mode 100644 index 0000000..6ab4681 --- /dev/null +++ b/org.handhelds.familiar/packages/socat/socat-1.3.2.1/ldflags.patch @@ -0,0 +1,32 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- socat-1.3/Makefile.in~ldflags ++++ socat-1.3/Makefile.in +@@ -33,6 +33,7 @@ + + + CFLAGS = @CFLAGS@ $(CCOPTS) $(DEFS) $(INCLS) ++LDFLAGS = @LDFLAGS@ + CLIBS = $(LIBS) + #CLIBS = $(LIBS) -lm -lefence + XIOSRCS = xioinitialize.c xiohelp.c xioparam.c xiodiag.c xioopen.c xioopts.c xiosigchld.c xioread.c xiowrite.c \ +@@ -78,13 +79,13 @@ + makedepend @SYSDEFS@ $(CFILES) + + socat: socat.o libxio.a +- $(CC) $(CFLAGS) -o $@ socat.o libxio.a $(CLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS) + + procan: procan_main.o procan.o error.o sycls.o sysutils.o utils.o +- $(CC) $(CFLAGS) -o $@ procan_main.o procan.o error.o sycls.o sysutils.o utils.o $(CLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ procan_main.o procan.o error.o sycls.o sysutils.o utils.o $(CLIBS) + + filan: filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o +- $(CC) $(CFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o $(CLIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ filan_main.o filan.o fdname.o error.o sycls.o sysutils.o utils.o $(CLIBS) + + libxio.a: $(XIOOBJS) $(UTLOBJS) + $(AR) r $@ $(XIOOBJS) $(UTLOBJS) diff --git a/org.handhelds.familiar/packages/socat/socat_1.3.2.1.bb b/org.handhelds.familiar/packages/socat/socat_1.3.2.1.bb new file mode 100644 index 0000000..378ea60 --- /dev/null +++ b/org.handhelds.familiar/packages/socat/socat_1.3.2.1.bb @@ -0,0 +1,14 @@ +SECTION = "console/network" +DEPENDS = "openssl" +DESCRIPTION = "Socat is a relay for bidirectional data \ +transfer between two independent data channels." +LICENSE = "GPL" +SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ + file://ldflags.patch;patch=1" +S = "${WORKDIR}/socat-1.3" + +inherit autotools + +do_install_prepend () { + install -d ${D}${bindir} ${D}${mandir}/man1 +} |