diff options
Diffstat (limited to 'app-mobilephone/cobex')
-rw-r--r-- | app-mobilephone/cobex/ChangeLog | 8 | ||||
-rw-r--r-- | app-mobilephone/cobex/Manifest | 20 | ||||
-rw-r--r-- | app-mobilephone/cobex/cobex-0.2.13.ebuild | 30 | ||||
-rw-r--r-- | app-mobilephone/cobex/files/cobex-0.2.13-build.patch | 108 | ||||
-rw-r--r-- | app-mobilephone/cobex/files/digest-cobex-0.2.13 | 3 | ||||
-rw-r--r-- | app-mobilephone/cobex/metadata.xml | 8 |
6 files changed, 177 insertions, 0 deletions
diff --git a/app-mobilephone/cobex/ChangeLog b/app-mobilephone/cobex/ChangeLog new file mode 100644 index 000000000000..ccc6b9ba2cf3 --- /dev/null +++ b/app-mobilephone/cobex/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-mobilephone/cobex +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/cobex/ChangeLog,v 1.1 2007/06/22 09:59:57 vapier Exp $ + +*cobex-0.2.13 (22 Jun 2007) + + 22 Jun 2007; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by me. diff --git a/app-mobilephone/cobex/Manifest b/app-mobilephone/cobex/Manifest new file mode 100644 index 000000000000..626d09753e46 --- /dev/null +++ b/app-mobilephone/cobex/Manifest @@ -0,0 +1,20 @@ +AUX cobex-0.2.13-build.patch 2725 RMD160 31a5092932ad0554df5986f7649a01380f97d646 SHA1 9a212741aab92dc7fe8c1ca14f346d8b6850d1c4 SHA256 377754843eb0fe0e9f0139760fd656b628193f36c6c0364004ed557d7d5a368f +MD5 03a47cb68ce81c71b2ba218e2ada6589 files/cobex-0.2.13-build.patch 2725 +RMD160 31a5092932ad0554df5986f7649a01380f97d646 files/cobex-0.2.13-build.patch 2725 +SHA256 377754843eb0fe0e9f0139760fd656b628193f36c6c0364004ed557d7d5a368f files/cobex-0.2.13-build.patch 2725 +DIST cobex-0.2.13.tar.gz 27020 RMD160 fa0d7b25f1895e9d8fb35387d4a8284e9260e0dc SHA1 fc42efdb9f3d8ef16529d06988ba1f74c41b78f4 SHA256 7f840d59374b398891ed32c4de0eac0a7b71029eb38f658efe1590a685ca59ba +EBUILD cobex-0.2.13.ebuild 693 RMD160 711f6e54c3cc006ad109fa47fb7f654136a11f36 SHA1 943d09a27f421f9ec37b20df5d643d9a9e780415 SHA256 10c02d77a10b81a68f751c293ee36707a6ed4159b55184ea1adfd8f28ebcc857 +MD5 f1172d29d841d837838a0957ccf99921 cobex-0.2.13.ebuild 693 +RMD160 711f6e54c3cc006ad109fa47fb7f654136a11f36 cobex-0.2.13.ebuild 693 +SHA256 10c02d77a10b81a68f751c293ee36707a6ed4159b55184ea1adfd8f28ebcc857 cobex-0.2.13.ebuild 693 +MISC ChangeLog 246 RMD160 f41dc73ffd9d0f0595e1194e1dd633d9b07ce9b3 SHA1 c1c3dec9dec4b6253f0ec51398124d94d5c41032 SHA256 01a6708de39de338fb9897128e7d0984e590f3ad6d9ac2ea3706c4615fa16afb +MD5 2c481dcde99e849809b783a8a46e051d ChangeLog 246 +RMD160 f41dc73ffd9d0f0595e1194e1dd633d9b07ce9b3 ChangeLog 246 +SHA256 01a6708de39de338fb9897128e7d0984e590f3ad6d9ac2ea3706c4615fa16afb ChangeLog 246 +MISC metadata.xml 226 RMD160 3c1da192dc4418d47ad7db25d2f58afc834f2f6c SHA1 22cffe3b17bf2ec23a45bf1b1a8c2b541d8b1ad0 SHA256 59d6162843eabb12c30817a82c164da73fe934cd4d6a12d3fc8d344dafcd7473 +MD5 1abb83582a18df18f8bf38847b43b242 metadata.xml 226 +RMD160 3c1da192dc4418d47ad7db25d2f58afc834f2f6c metadata.xml 226 +SHA256 59d6162843eabb12c30817a82c164da73fe934cd4d6a12d3fc8d344dafcd7473 metadata.xml 226 +MD5 4622bbc8d5758b471a0e267152e52387 files/digest-cobex-0.2.13 235 +RMD160 99ec9a5a7cb297d460ab51eeb2c0c701ac6b6c62 files/digest-cobex-0.2.13 235 +SHA256 c2cbb61d53b71873fd5b75ee1b834485a601903dbe44ed6766e5e054af0e23c6 files/digest-cobex-0.2.13 235 diff --git a/app-mobilephone/cobex/cobex-0.2.13.ebuild b/app-mobilephone/cobex/cobex-0.2.13.ebuild new file mode 100644 index 000000000000..07a6e4532460 --- /dev/null +++ b/app-mobilephone/cobex/cobex-0.2.13.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/cobex/cobex-0.2.13.ebuild,v 1.1 2007/06/22 09:59:57 vapier Exp $ + +inherit eutils + +DESCRIPTION="small implementation of Obex for phones using the DCU-11 USB-to-serial adapter" +HOMEPAGE="http://cobex.sourceforge.net/" +SRC_URI="mirror://sourceforge/cobex/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="dev-libs/libezV24 + dev-libs/expat" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + local f + for f in get ls mkdir put rm ; do mv ${f}.c cobex_${f}.c || die ; done +} + +src_install() { + dobin cobex_{ls,mkdir,put,rm} || die + dodoc Changelog README Things_to_know_T310.txt +} diff --git a/app-mobilephone/cobex/files/cobex-0.2.13-build.patch b/app-mobilephone/cobex/files/cobex-0.2.13-build.patch new file mode 100644 index 000000000000..32ac20deb671 --- /dev/null +++ b/app-mobilephone/cobex/files/cobex-0.2.13-build.patch @@ -0,0 +1,108 @@ +--- Makefile ++++ Makefile +@@ -1,75 +1,37 @@ +-CC=gcc +-CCFLAGS=-O2 -Wall +-EXTRACCFLAGS=-s -lezV24 +-EXPATCCFLAGS=-lexpat +-CFILES=put.c get.c cobex_core.c ls.c cobex_tools.c cobex_serial.c rm.c mkdir.c +-HFILES=cobex_defs.h cobex_core.h capabilities.h cobex_tools.h cobex_serial.h +-O2FILES=cobex_core.o cobex_tools.o cobex_serial.o +-PUTO=put.o +-GETO=get.o +-LSO=ls.o +-RMO=rm.o +-MKDIRO=mkdir.o +-CAPAO=capability.o +-COBEXPUT=cobex_put +-COBEXGET=cobex_get +-COBEXLS=cobex_ls +-COBEXRM=cobex_rm +-COBEXCAPA=cobex_capa +-COBEXMKDIR=cobex_mkdir ++CC ?= gcc ++CFLAGS ?= -O2 ++CFLAGS += -Wall ++LDLIBS += -lezV24 ++ ++PROGS = cobex_put cobex_get cobex_ls cobex_rm cobex_mkdir ++CFILES = $(wildcard *.c) ++HFILES = $(wildcard *.h) ++O2FILES = cobex_core.o cobex_tools.o cobex_serial.o ++ + EXTRAFILES = README Changelog COPYING Makefile cobex_put.pl Things_to_know_T310.txt Hacking_pl2303_driver.txt + VERSION = 0.2.13 + PROJNAME = cobex-$(VERSION) + +-all: $(COBEXPUT) $(COBEXGET) $(COBEXLS) $(COBEXRM) $(COBEXMKDIR) ++all: $(PROGS) + + model: + cd modeldb && make all + +-$(COBEXPUT): $(O2FILES) $(PUTO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) -o $(COBEXPUT) $(PUTO) $(O2FILES) +- +-$(COBEXGET): $(O2FILES) $(GETO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) -o $(COBEXGET) $(GETO) $(O2FILES) +- +-$(COBEXRM): $(O2FILES) $(RMO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) -o $(COBEXRM) $(RMO) $(O2FILES) +- +-$(COBEXLS): $(O2FILES) $(LSO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) $(EXPATCCFLAGS) -o $(COBEXLS) $(LSO) $(O2FILES) +- +-$(COBEXCAPA): $(O2FILES) $(CAPAO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) -o $(COBEXCAPA) $(CAPAO) $(O2FILES) +- +-$(COBEXMKDIR): $(O2FILES) $(MKDIRO) +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) -o $(COBEXMKDIR) $(MKDIRO) $(O2FILES) +- +- +-test2: $(O2FILES) test2.o +- $(CC) $(CCFLAGS) $(EXTRACCFLAGS) $(EXPATCCFLAGS) -o test2 test2.o $(O2FILES) +- +-.c.o: +- $(CC) $(CCFLAGS) $(LOCKSERIAL) -c $< +- +-$(PUTO): put.c $(O2FILES) +- +-$(GETO): get.c $(O2FILES) +- +-$(LSO): ls.c $(O2FILES) +- +-$(RMO): rm.c $(O2FILES) +- +-test2.o: test2.c $(O2FILES) +- +-cobex_core.o: cobex_core.c cobex_core.h cobex_defs.h +- +-cobex_tools.o: cobex_tools.c cobex_tools.h cobex_defs.h cobex_core.c cobex_core.h +- +-cobex_serial.o: cobex_serial.c cobex_serial.h cobex_core.c cobex_core.h ++cobex_put: $(O2FILES) ++cobex_get: $(O2FILES) ++cobex_ls: $(O2FILES) ++cobex_rm: $(O2FILES) ++cobex_mkdir: $(O2FILES) ++cobex_capa: $(O2FILES) ++ ++cobex_ls: LDLIBS += -lexpat ++ ++-include .depend ++.depend: $(CFILES) $(HFILES) ++ $(CC) -MM $^ > .depend + + clean: +- rm -f *.o +- cd modeldb && make clean ++ rm -f *.o $(PROGS) + + printfiles: $(CFILES) $(HFILES) + @echo $? +@@ -88,3 +50,5 @@ + + dist-contrib : + cd contrib && make dist VERSION=$(VERSION) ++ ++.PHONY: all clean dist dist2 dist-modeldb dist-contrib model printfiles diff --git a/app-mobilephone/cobex/files/digest-cobex-0.2.13 b/app-mobilephone/cobex/files/digest-cobex-0.2.13 new file mode 100644 index 000000000000..c9e1086bdc08 --- /dev/null +++ b/app-mobilephone/cobex/files/digest-cobex-0.2.13 @@ -0,0 +1,3 @@ +MD5 56d2d849ec268133f856e49331d6b44d cobex-0.2.13.tar.gz 27020 +RMD160 fa0d7b25f1895e9d8fb35387d4a8284e9260e0dc cobex-0.2.13.tar.gz 27020 +SHA256 7f840d59374b398891ed32c4de0eac0a7b71029eb38f658efe1590a685ca59ba cobex-0.2.13.tar.gz 27020 diff --git a/app-mobilephone/cobex/metadata.xml b/app-mobilephone/cobex/metadata.xml new file mode 100644 index 000000000000..77fefb1c49b9 --- /dev/null +++ b/app-mobilephone/cobex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile-phone</herd> +<maintainer> + <email>vapier@gentoo.org</email> +</maintainer> +</pkgmetadata> |