summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2009-05-06 20:24:51 +0000
committerOlivier Crête <tester@gentoo.org>2009-05-06 20:24:51 +0000
commitba31db137a2b5f61f7f40be3ff2ab0d8d2caccf8 (patch)
treec22abf8346898bf547929e4a410fba56d99df07d /dev-embedded
parentAdd new scratchbox toolchain (diff)
downloadhistorical-ba31db137a2b5f61f7f40be3ff2ab0d8d2caccf8.tar.gz
historical-ba31db137a2b5f61f7f40be3ff2ab0d8d2caccf8.tar.bz2
historical-ba31db137a2b5f61f7f40be3ff2ab0d8d2caccf8.zip
Version bump
Package-Manager: portage-2.1.6.11/cvs/Linux i686
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/scratchbox-devkit-cputransp/ChangeLog8
-rw-r--r--dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild26
-rw-r--r--dev-embedded/scratchbox/ChangeLog7
-rw-r--r--dev-embedded/scratchbox/scratchbox-1.0.14.ebuild111
4 files changed, 150 insertions, 2 deletions
diff --git a/dev-embedded/scratchbox-devkit-cputransp/ChangeLog b/dev-embedded/scratchbox-devkit-cputransp/ChangeLog
index 647a08ccdd87..7545821ad13a 100644
--- a/dev-embedded/scratchbox-devkit-cputransp/ChangeLog
+++ b/dev-embedded/scratchbox-devkit-cputransp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-embedded/scratchbox-devkit-cputransp
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-cputransp/ChangeLog,v 1.1 2009/05/06 19:34:04 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-cputransp/ChangeLog,v 1.2 2009/05/06 20:24:51 tester Exp $
+
+*scratchbox-devkit-cputransp-1.0.9 (06 May 2009)
+
+ 06 May 2009; Olivier Crête <tester@gentoo.org>
+ +scratchbox-devkit-cputransp-1.0.9.ebuild:
+ Version bump
*scratchbox-devkit-cputransp-1.0.7 (06 May 2009)
diff --git a/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild b/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
new file mode 100644
index 000000000000..9e32643c665f
--- /dev/null
+++ b/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox-devkit-cputransp/scratchbox-devkit-cputransp-1.0.9.ebuild,v 1.1 2009/05/06 20:24:51 tester Exp $
+
+SBOX_GROUP="sbox"
+RESTRICT="strip binchecks"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/${P}-i386.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="=dev-embedded/scratchbox-1.0*"
+RDEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/scratchbox
+
+src_install() {
+ dodir ${TARGET_DIR}
+ cp -pRP * "${D}/${TARGET_DIR}"
+}
diff --git a/dev-embedded/scratchbox/ChangeLog b/dev-embedded/scratchbox/ChangeLog
index e2dec4ec3df2..e7c025006688 100644
--- a/dev-embedded/scratchbox/ChangeLog
+++ b/dev-embedded/scratchbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/scratchbox
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.1 2009/05/06 19:33:30 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/ChangeLog,v 1.2 2009/05/06 20:23:32 tester Exp $
+
+*scratchbox-1.0.14 (06 May 2009)
+
+ 06 May 2009; Olivier Crête <tester@gentoo.org> +scratchbox-1.0.14.ebuild:
+ Version bump
*scratchbox-1.0.11 (06 May 2009)
diff --git a/dev-embedded/scratchbox/scratchbox-1.0.14.ebuild b/dev-embedded/scratchbox/scratchbox-1.0.14.ebuild
new file mode 100644
index 000000000000..958451f806c1
--- /dev/null
+++ b/dev-embedded/scratchbox/scratchbox-1.0.14.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/scratchbox/scratchbox-1.0.14.ebuild,v 1.1 2009/05/06 20:23:32 tester Exp $
+
+inherit eutils
+
+SBOX_GROUP="sbox"
+RESTRICT="strip binchecks"
+
+DESCRIPTION="A cross-compilation toolkit designed to make embedded Linux application development easier."
+HOMEPAGE="http://www.scratchbox.org/"
+SRC_URI="http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-core-${PV}-i386.tar.gz
+ http://scratchbox.org/download/files/sbox-releases/stable/tarball/scratchbox-libs-${PV}-i386.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+TARGET_DIR="/opt/scratchbox"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ dodir ${TARGET_DIR}
+ # doins doesn't work with symlinks, getting "file not found" with doins
+ cp -pRP ./* "${D}/${TARGET_DIR}"
+ ln -s opt/scratchbox "${D}/scratchbox"
+
+ # scratchbox service loader
+ newinitd "${FILESDIR}/scratchbox.rc" scratchbox || die "newinitd failed"
+
+ # group already created
+ echo ${SBOX_GROUP} > "${D}/${TARGET_DIR}/.run_me_first_done"
+}
+
+pkg_preinst() {
+ einfo "Creating group sbox"
+ enewgroup "${SBOX_GROUP}"
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to run:"
+ elog "\"emerge --config =${CATEGORY}/${PF}\""
+ elog "to set permissions right and setup scratchbox and users"
+ elog
+ elog "For further documentation about how to setup"
+ elog "scratchbox for your development needs have a look at"
+ elog "http://scratchbox.org/documentation/user/scratchbox-1.0/"
+ elog
+ elog "Also note that when you reboot you should run:"
+ elog "/etc/init.d/scratchbox start"
+ elog "before trying to run scratchbox."
+ elog "You can also add it to the default runlevel:"
+ elog "rc-update add scratchbox default"
+ elog
+ elog "Type /opt/scratchbox/login to start scratchbox."
+ elog
+}
+
+pkg_postrm() {
+ elog
+ elog "To remove all traces of scratchbox you will need to remove the file"
+ elog "/etc/init.d/scratchbox. Don't forget to delete the sbox group."
+ elog
+}
+
+pkg_config() {
+ if [ `id -u` != "0" ]; then
+ ewarn "Must be root to run this"
+ die "not root"
+ fi
+
+ einfo "Do you want to configure scratchbox? [Yes/No]"
+ einfo "Note: This will set permissions and copy files from the system into the scratchbox"
+ read choice
+ echo
+ case "$choice" in
+ y*|Y*|"")
+ "${TARGET_DIR}/sbin/sbox_configure" "no" ${SBOX_GROUP} || die "sbox_configure failed"
+ ;;
+ *)
+ ;;
+ esac
+
+ mkdir -p "${TARGET_DIR}/scratchbox/users"
+
+ while true; do
+ einfo "Existing users:"
+ einfo $(ls "${TARGET_DIR}/users")
+ echo
+
+ einfo "Create new user (leaf empty to skip): "
+ read newuser
+ case "$newuser" in
+ "")
+ break;
+ ;;
+ *)
+ einfo "Note: users have to be in the '${SBOX_GROUP}' to be able to login into the scratchbox"
+ "${TARGET_DIR}/sbin/sbox_adduser" ${newuser} || die "sbox_adduser failed"
+ ;;
+ esac
+ done
+
+ einfo "Configuration finished. Make sure you run '/etc/init.d/scratchbox start' before logging in."
+}