diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2003-12-25 19:19:43 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2003-12-25 19:19:43 +0000 |
commit | 4bc1b3cf76f17e6d03681d0c6ae0659bc6a1e785 (patch) | |
tree | 9facbdf53db5493eddbc0b9465865a084ec6f101 /dev-lang/palmos-sdk | |
parent | Initial commit, needed by palmos-sdk. (diff) | |
download | historical-4bc1b3cf76f17e6d03681d0c6ae0659bc6a1e785.tar.gz historical-4bc1b3cf76f17e6d03681d0c6ae0659bc6a1e785.tar.bz2 historical-4bc1b3cf76f17e6d03681d0c6ae0659bc6a1e785.zip |
Initial commit - this closes bug #16998.
Diffstat (limited to 'dev-lang/palmos-sdk')
-rw-r--r-- | dev-lang/palmos-sdk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/Manifest | 8 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/files/digest-palmos-sdk-3.5 | 2 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/files/digest-palmos-sdk-4.0 | 0 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/files/digest-palmos-sdk-5.0-r3 | 0 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/palmos-sdk-3.5.ebuild | 71 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/palmos-sdk-4.0.ebuild | 74 | ||||
-rw-r--r-- | dev-lang/palmos-sdk/palmos-sdk-5.0-r3.ebuild | 69 |
9 files changed, 242 insertions, 0 deletions
diff --git a/dev-lang/palmos-sdk/ChangeLog b/dev-lang/palmos-sdk/ChangeLog new file mode 100644 index 000000000000..efcde119a8ea --- /dev/null +++ b/dev-lang/palmos-sdk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/palmos-sdk +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/palmos-sdk/ChangeLog,v 1.1 2003/12/25 19:19:25 plasmaroo Exp $ + +*palmos-sdk-5.0-r3 (25 Dec 2003) + + 25 Dec 2003; <plasmaroo@gentoo.org> palmos-sdk-3.5.ebuild, + palmos-sdk-4.0.ebuild, palmos-sdk-5.0-r3.ebuild: + Initial commit. These ebuilds based on those contributed by Caleb + Shay, bug #16998. diff --git a/dev-lang/palmos-sdk/Manifest b/dev-lang/palmos-sdk/Manifest new file mode 100644 index 000000000000..c01f5df5cbc3 --- /dev/null +++ b/dev-lang/palmos-sdk/Manifest @@ -0,0 +1,8 @@ +MD5 e1d3795ee2131fbc87f6de81d24e525c ChangeLog 458 +MD5 8b0f876da8fa70f6ebcbaf281e5720d6 metadata.xml 224 +MD5 c2c6f0c373cd87a046df6d6eedc20cf8 palmos-sdk-4.0.ebuild 1798 +MD5 290b4fa6ee8e82c5fcd05ec385724cba palmos-sdk-3.5.ebuild 1664 +MD5 7f6961225ac65ae3c189106a1e70fe3a palmos-sdk-5.0-r3.ebuild 1723 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-palmos-sdk-5.0-r3 0 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-palmos-sdk-4.0 0 +MD5 7ae70463e1a00f092dc628949d2a91ab files/digest-palmos-sdk-3.5 121 diff --git a/dev-lang/palmos-sdk/files/digest-palmos-sdk-3.5 b/dev-lang/palmos-sdk/files/digest-palmos-sdk-3.5 new file mode 100644 index 000000000000..03e09f6552f3 --- /dev/null +++ b/dev-lang/palmos-sdk/files/digest-palmos-sdk-3.5 @@ -0,0 +1,2 @@ +MD5 6a515f9435f78689f1637438962b1585 sdk35.tar.gz 284047 +MD5 29b002c4b4733d18ba0061c302886b44 sdk35-update1.tar.gz 14043 diff --git a/dev-lang/palmos-sdk/files/digest-palmos-sdk-4.0 b/dev-lang/palmos-sdk/files/digest-palmos-sdk-4.0 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-lang/palmos-sdk/files/digest-palmos-sdk-4.0 diff --git a/dev-lang/palmos-sdk/files/digest-palmos-sdk-5.0-r3 b/dev-lang/palmos-sdk/files/digest-palmos-sdk-5.0-r3 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-lang/palmos-sdk/files/digest-palmos-sdk-5.0-r3 diff --git a/dev-lang/palmos-sdk/metadata.xml b/dev-lang/palmos-sdk/metadata.xml new file mode 100644 index 000000000000..7ba772c43ab2 --- /dev/null +++ b/dev-lang/palmos-sdk/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>no-herd</herd> +<maintainer> + <email>plasmaroo@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-lang/palmos-sdk/palmos-sdk-3.5.ebuild b/dev-lang/palmos-sdk/palmos-sdk-3.5.ebuild new file mode 100644 index 000000000000..38bb6927d2f4 --- /dev/null +++ b/dev-lang/palmos-sdk/palmos-sdk-3.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/palmos-sdk/palmos-sdk-3.5.ebuild,v 1.1 2003/12/25 19:19:25 plasmaroo Exp $ + +DESCRIPTION="The static libraries and header files needed for developing PalmOS applications." +HOMEPAGE="http://www.palmos.com/" +LICENSE="Palm-SDK" + +SLOT="3.5" +KEYWORDS="~x86" +DEPEND="dev-lang/prc-tools" + +A1="sdk35.tar.gz" +A2="sdk35-update1.tar.gz" +AD1="sdk35-docs.tar.gz" +AD2="sdk35-examples.tar.gz" +A="${A1} ${A2}" + +IUSE="" +BASE="/opt/palmdev/sdk-${SLOT}" +RESTRICT="nostrip" +S=${WORKDIR} + +pkg_setup() { + + if ! ( [ -f ${DISTDIR}/${A1} ] && [ -f ${DISTDIR}/${A2} ] ); then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk35.cgi"; \ + eerror "and download ${A1} and ${A2} and place them"; \ + eerror "in ${DISTDIR} and emerge this package again." + die + fi + + if ( ( [ ! -f ${DISTDIR}/${AD1} ] || [ ! -f ${DISTDIR}/${AD2} ] ) && [ `use doc` ] ); then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk35.cgi" + eerror "and download ${AD1} and ${AD2} and place them in" + eerror "${DISTDIR} and emerge this package again or disable the \`doc'" + eerror "USE flag." + die + fi + +} + +src_unpack() { + + unpack ${A} + if [ `use doc` ]; then + unpack ${AD1} + unpack ${AD2} + fi + +} + +src_install() { + + dodir ${BASE} + mv Palm\ OS\ 3.5\ Support/GCC\ Libraries ${D}/${BASE}/lib + mv Palm\ OS\ 3.5\ Support/Incs ${D}/${BASE}/include + + if [ `use doc` ]; then + mv docs ${D}/${BASE}/Documentation + mv Examples ${D}/${BASE}/Documentation + fi + +} + +pkg_postinst() +{ + palmdev-prep || eerror "Could not run \`palmdev-prep'!" +} diff --git a/dev-lang/palmos-sdk/palmos-sdk-4.0.ebuild b/dev-lang/palmos-sdk/palmos-sdk-4.0.ebuild new file mode 100644 index 000000000000..52bd36e0c41d --- /dev/null +++ b/dev-lang/palmos-sdk/palmos-sdk-4.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/palmos-sdk/palmos-sdk-4.0.ebuild,v 1.1 2003/12/25 19:19:25 plasmaroo Exp $ + +inherit rpm + +DESCRIPTION="The static libraries and header files needed for developing PalmOS applications." +HOMEPAGE="http://www.palmos.com/" +LICENSE="Palm-SDK" + +SLOT="4.0" +KEYWORDS="~x86" +DEPEND="dev-lang/prc-tools" + +A1="sdk40.tar.gz" +A2="sdk40upd1.tar.gz" +AD1="sdk40-docs.zip" +AD2="sdk40-examples.tar.gz" +A="${A1} ${A2}" + +IUSE="" +BASE="/opt/palmdev/sdk-${SLOT}" +RESTRICT="nostrip" +S=${WORKDIR} + +pkg_setup() { + + if ! ( [ -f ${DISTDIR}/${A1} ] && [ -f ${DISTDIR}/${A2} ] ); then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk40.cgi"; \ + eerror "and download ${A1} and ${A2} and place them"; \ + eerror "in ${DISTDIR} and emerge this package again." + die + fi + + if ( ( [ ! -f ${DISTDIR}/${AD1} ] || [ ! -f ${DISTDIR}/${AD2} ] ) && [ `use doc` ] ); then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk40.cgi" + eerror "and download ${AD1} and ${AD2} and place them in" + eerror "${DISTDIR} and emerge this package again or disable the \`doc'" + eerror "USE flag." + die + fi + +} + +src_unpack() { + + unpack ${A} + rpm_unpack *.rpm + rm *.rpm + + if [ `use doc` ]; then + unpack ${AD1} + unpack ${AD2} + fi + +} + +src_install() { + + dodir ${BASE} + cp -Rf PalmOS-4.0-SDK-Update-1/PalmOS-Unix/PalmOS-Support/* opt/palmdev/sdk-4 + cp -Rf PalmOS-4.0-SDK-Update-1/PalmOS-Unix/Documentation/* opt/palmdev/sdk-4 + cp -PRf opt/palmdev/sdk-4/* ${D}/opt/palmdev/sdk-${SLOT} + mv Documentation ${D}/opt/palmdev/sdk-${SLOT} + mv Examples ${D}/opt/palmdev/sdk-${SLOT}/Documentation + +} + +pkg_postinst() +{ + palmdev-prep || eerror "Could not run \`palmdev-prep'!" +} diff --git a/dev-lang/palmos-sdk/palmos-sdk-5.0-r3.ebuild b/dev-lang/palmos-sdk/palmos-sdk-5.0-r3.ebuild new file mode 100644 index 000000000000..5ef53a530850 --- /dev/null +++ b/dev-lang/palmos-sdk/palmos-sdk-5.0-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/palmos-sdk/palmos-sdk-5.0-r3.ebuild,v 1.1 2003/12/25 19:19:25 plasmaroo Exp $ + +DESCRIPTION="The static libraries and header files needed for developing PalmOS applications." +HOMEPAGE="http://www.palmos.com/" +LICENSE="Palm-SDK" + +SLOT="5.0R3" +KEYWORDS="~x86" +DEPEND="dev-lang/prc-tools" + +A="palmos-sdk-5.0r3-1.tar.gz" +AD="PalmOS_5_SDK_68K_R3_no-install.zip" + +IUSE="" +BASE="/opt/palmdev/sdk-${SLOT}" +RESTRICT="nostrip" +S=${WORKDIR} + +pkg_setup() { + + if [ ! -f ${DISTDIR}/${A} ]; then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk50.cgi" + eerror "and download ${A} and place it in ${DISTDIR}" + eerror "and emerge this package again." + die + fi + + if ( [ ! -f ${DISTDIR}/${AD} ] && [ `use doc` ] ); then + echo + eerror "Please go to http://www.palmos.com/cgi-bin/sdk50.cgi" + eerror "and download ${AD} and place it in" + eerror "${DISTDIR} and emerge this package again or disable the \`doc'" + eerror "USE flag." + die + fi + +} + +src_unpack() { + + unpack ${A} + if [ `use doc` ]; then + unpack ${AD} + fi + +} + +src_install() { + + dodir ${BASE} + rm -rf sdk-5r3/CodeWarrior\ Support + if [ `use doc` ]; then + rm -rf PalmOS_5_SDK_68K_R3_no-install/CodeWarrior\ Support/\(Project\ Stationery\)/ + rm -rf PalmOS_5_SDK_68K_R3_no-install/CodeWarrior\ Support/Plugins/ + rm -rf PalmOS_5_SDK_68K_R3_no-install/Palm\ OS\ Support/ + rm -rf PalmOS_5_SDK_68K_R3_no-install/Palm\ Tools/ + cp -Rf PalmOS_5_SDK_68K_R3_no-install/* sdk-5r3/ + fi + cp -PRf sdk-5r3/* ${D}/opt/palmdev/sdk-${SLOT} + +} + +pkg_postinst() +{ + palmdev-prep || eerror "Could not run \`palmdev-prep'!" +} |