diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-05-31 09:33:03 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-05-31 09:33:03 +0000 |
commit | 9073b4f0e82a4f8362fe2574e8fbdb11716d1de0 (patch) | |
tree | 7f3df46a0fd7aee66d9a51995480a06afff17fc1 | |
parent | 8a296a94a2ab1a0072116a863baa9381b32e606e (diff) | |
download | ptxdist-9073b4f0e82a4f8362fe2574e8fbdb11716d1de0.tar.gz ptxdist-9073b4f0e82a4f8362fe2574e8fbdb11716d1de0.tar.xz |
* rules/vice.in, rules/frodo.make, rules/vice.make, rules/frodo.in:
something to play with
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8258 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r-- | rules/frodo.in | 7 | ||||
-rw-r--r-- | rules/frodo.make | 131 | ||||
-rw-r--r-- | rules/vice.in | 10 | ||||
-rw-r--r-- | rules/vice.make | 146 |
4 files changed, 294 insertions, 0 deletions
diff --git a/rules/frodo.in b/rules/frodo.in new file mode 100644 index 000000000..39c11cfe5 --- /dev/null +++ b/rules/frodo.in @@ -0,0 +1,7 @@ +config FRODO + bool + select READLINE + select ALSA_LIB + prompt "FRODO" + help + FIXME
\ No newline at end of file diff --git a/rules/frodo.make b/rules/frodo.make new file mode 100644 index 000000000..ff98eb982 --- /dev/null +++ b/rules/frodo.make @@ -0,0 +1,131 @@ +# -*-makefile-*- +# $Id: template 6655 2007-01-02 12:55:21Z rsc $ +# +# Copyright (C) 2007 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_FRODO) += frodo + +# +# Paths and names +# +FRODO_VERSION := 4.1b +FRODO := Frodo-$(FRODO_VERSION) +FRODO_SUFFIX := Src.tar.gz +FRODO_URL := http://frodo.cebix.net/downloads/FrodoV4_1b.$(FRODO_SUFFIX) +FRODO_SOURCE := $(SRCDIR)/FrodoV4_1b.$(FRODO_SUFFIX) +FRODO_DIR := $(BUILDDIR)/$(FRODO) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +frodo_get: $(STATEDIR)/frodo.get + +$(STATEDIR)/frodo.get: $(frodo_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(FRODO_SOURCE): + @$(call targetinfo, $@) + @$(call get, FRODO) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +frodo_extract: $(STATEDIR)/frodo.extract + +$(STATEDIR)/frodo.extract: $(frodo_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(FRODO_DIR)) + @$(call extract, FRODO) + @$(call patchin, FRODO) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +frodo_prepare: $(STATEDIR)/frodo.prepare + +FRODO_PATH := PATH=$(CROSS_PATH) +FRODO_ENV := $(CROSS_ENV) + +# +# autoconf +# +FRODO_AUTOCONF := $(CROSS_AUTOCONF_USR) + +$(STATEDIR)/frodo.prepare: $(frodo_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(FRODO_DIR)/config.cache) + cd $(FRODO_DIR)/Src && \ + $(FRODO_PATH) $(FRODO_ENV) \ + ./configure $(FRODO_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +frodo_compile: $(STATEDIR)/frodo.compile + +$(STATEDIR)/frodo.compile: $(frodo_compile_deps_default) + @$(call targetinfo, $@) + cd $(FRODO_DIR)/Src && $(FRODO_ENV) $(FRODO_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +frodo_install: $(STATEDIR)/frodo.install + +$(STATEDIR)/frodo.install: $(frodo_install_deps_default) + @$(call targetinfo, $@) + @$(call install, FRODO) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +frodo_targetinstall: $(STATEDIR)/frodo.targetinstall + +$(STATEDIR)/frodo.targetinstall: $(frodo_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, frodo) + @$(call install_fixup, frodo,PACKAGE,frodo) + @$(call install_fixup, frodo,PRIORITY,optional) + @$(call install_fixup, frodo,VERSION,$(FRODO_VERSION)) + @$(call install_fixup, frodo,SECTION,base) + @$(call install_fixup, frodo,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, frodo,DEPENDS,) + @$(call install_fixup, frodo,DESCRIPTION,missing) + + @$(call install_copy, frodo, 0, 0, 0755, $(FRODO_DIR)/foobar, /dev/null) + + @$(call install_finish, frodo) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +frodo_clean: + rm -rf $(STATEDIR)/frodo.* + rm -rf $(IMAGEDIR)/frodo_* + rm -rf $(FRODO_DIR) + +# vim: syntax=make diff --git a/rules/vice.in b/rules/vice.in new file mode 100644 index 000000000..b7a3efd21 --- /dev/null +++ b/rules/vice.in @@ -0,0 +1,10 @@ +config VICE + bool + select READLINE + select ALSA_LIB + prompt "vice" + help + VICE emulates well the hardware of the Commodore Business + Machines of the pre-Amiga era. Supported are the various Pets, the + VIC-20, the Commodore 64, the Commodore 128, the CBM-II series, and + the PLUS/4.
\ No newline at end of file diff --git a/rules/vice.make b/rules/vice.make new file mode 100644 index 000000000..57062d8f7 --- /dev/null +++ b/rules/vice.make @@ -0,0 +1,146 @@ +# -*-makefile-*- +# $Id: template 6655 2007-01-02 12:55:21Z rsc $ +# +# Copyright (C) 2007 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_VICE) += vice + +# +# Paths and names +# +VICE_VERSION := 1.22 +VICE := vice-$(VICE_VERSION) +VICE_SUFFIX := tar.gz +VICE_URL := http://www.viceteam.org/online/$(VICE).$(VICE_SUFFIX) +VICE_SOURCE := $(SRCDIR)/$(VICE).$(VICE_SUFFIX) +VICE_DIR := $(BUILDDIR)/$(VICE) +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +vice_get: $(STATEDIR)/vice.get + +$(STATEDIR)/vice.get: $(vice_get_deps_default) + @$(call targetinfo, $@) + @$(call touch, $@) + +$(VICE_SOURCE): + @$(call targetinfo, $@) + @$(call get, VICE) + +# ---------------------------------------------------------------------------- +# Extract +# ---------------------------------------------------------------------------- + +vice_extract: $(STATEDIR)/vice.extract + +$(STATEDIR)/vice.extract: $(vice_extract_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(VICE_DIR)) + @$(call extract, VICE) + @$(call patchin, VICE) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +vice_prepare: $(STATEDIR)/vice.prepare + +VICE_PATH := PATH=$(CROSS_PATH) +VICE_ENV := $(CROSS_ENV) + +# +# autoconf +# +VICE_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ + \ + --disable-ipv6 \ + \ + --without-xaw3d \ + --with-readline \ + \ + --without-arts \ + --without-esd \ + --with-alsa \ + --without-oss \ + --without-resid \ + --without-png \ + --without-zlib \ + --without-picasso96 \ + --without-cocoa + +$(STATEDIR)/vice.prepare: $(vice_prepare_deps_default) + @$(call targetinfo, $@) + @$(call clean, $(VICE_DIR)/config.cache) + cd $(VICE_DIR) && \ + $(VICE_PATH) $(VICE_ENV) \ + ./configure $(VICE_AUTOCONF) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +vice_compile: $(STATEDIR)/vice.compile + +$(STATEDIR)/vice.compile: $(vice_compile_deps_default) + @$(call targetinfo, $@) + cd $(VICE_DIR) && $(VICE_PATH) $(MAKE) $(PARALLELMFLAGS) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +vice_install: $(STATEDIR)/vice.install + +$(STATEDIR)/vice.install: $(vice_install_deps_default) + @$(call targetinfo, $@) + @$(call install, VICE) + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +vice_targetinstall: $(STATEDIR)/vice.targetinstall + +$(STATEDIR)/vice.targetinstall: $(vice_targetinstall_deps_default) + @$(call targetinfo, $@) + + @$(call install_init, vice) + @$(call install_fixup, vice,PACKAGE,vice) + @$(call install_fixup, vice,PRIORITY,optional) + @$(call install_fixup, vice,VERSION,$(VICE_VERSION)) + @$(call install_fixup, vice,SECTION,base) + @$(call install_fixup, vice,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup, vice,DEPENDS,) + @$(call install_fixup, vice,DESCRIPTION,missing) + +# @$(call install_copy, vice, 0, 0, 0755, $(VICE_DIR)/foobar, /dev/null) + + @$(call install_finish, vice) + + @$(call touch, $@) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +vice_clean: + rm -rf $(STATEDIR)/vice.* + rm -rf $(IMAGEDIR)/vice_* + rm -rf $(VICE_DIR) + +# vim: syntax=make |