Moved Maemo 'debian' files into a 'maemo' subfolder, to make normal

debian builds less annoying for Ben.
This commit is contained in:
William Kendrick 2007-08-03 16:44:02 +00:00
parent 26c7051c07
commit c38e44bd3c
3 changed files with 0 additions and 0 deletions

28
maemo/debian/control Normal file
View file

@ -0,0 +1,28 @@
Source: tuxpaint
Version: 0.9.17
Section: user/games
Priority: optional
Installed-Size: 2828
Maintainer: Alessandro Pasotti <apasotti@gmail.com>
Package: tuxpaint
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A paint program for young children
Tux Paint is meant to be a simple drawing program for young
children. It is not meant as a general-purpose drawing tool.
It IS meant to be fun and easy to use. Sound effects and a
cartoon character help let the user know what's going on, and
keeps them entertained.
.
Tux Paint is extensible. Brushes and "rubber stamp" shapes can be
dropped in and pulled out. For example, a teacher can drop in a
collection of animal shapes and ask their students to draw an
ecosystem. Each shape can have a sound which is played, and
textual facts which are displayed, when the child selects the shape.
.
There is no direct access to the computer's underlying intricacies.
The current image is kept when the program quits, and reappears when
it is restarted. Saving images requires no need to create filenames
or use the keyboard. Opening an image is done by selecting it from
a collection of thumbnails.

16
maemo/debian/postinst Executable file
View file

@ -0,0 +1,16 @@
#! /bin/sh
# The clock might be wrong and we know that we need to update the icon
# cache so we just force it.
gtk-update-icon-cache -f /usr/share/icons/hicolor
if [ ! -d /media/mmc1/tuxpaint ]
then
mkdir /media/mmc1/tuxpaint
fi
echo " Lets ask about the location"
maemo-select-menu-location tuxpaint.desktop tana_fi_games
exit 0

100
maemo/debian/rules Executable file
View file

@ -0,0 +1,100 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Builds tuxpaint for MAEMO NOKIA DEVICES
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
build: build-stamp
build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE) nokia770 PKG_ROOT=$(CURDIR)/debian/tuxpaint PREFIX=/usr
#docbook-to-man debian/tuxpaint.sgml > tuxpaint.1
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
-$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tuxpaint.
$(MAKE) install PKG_ROOT=$(CURDIR)/debian/tuxpaint PREFIX=/usr
$(MAKE) install-nokia770 PKG_ROOT=$(CURDIR)/debian/tuxpaint NOKIA770_PREFIX=/usr
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
# dh_installchangelogs
# dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure