All pastes #803722 Raw Edit

PrinceAMD

public text v1 · immutable
·published 2007-12-02 15:58 UTC
rendered paste body
#!/bin/bash
# This is my attempt to create a automated compiler for Enlightenment 17 files from CVS
# This is the CVS link "cvs -z3 -d :pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17"
# The creator of this script is Deon 'PrinceAMD' Thomas, Email: PrinceAMD.elive@gmail.com / PrinceAMD@EliveCD.org

#  THIS SCRIPT TOTALLY DEPENDS ON MAKE-DEB BY THANATERMESIS

# This just get the username [this might be useless in this script but it does not hurt]
username=`whoami`

#Temperary Directory 
temp=/tmp/makedeb2007
export temp
mkdir -p $temp

# This part just makes the directory and the last code sets it
makemakedeb=`mkdir -p ./debian/make-deb`
makemakedeb1=`mkdir -p ./debian/make-deb/DEBIAN`
makedeblocation="./debian/make-deb"

# Color Codes
green=""
cyan=""
normal=""
blue=""
red=""

#Package name
packname="Package: "

#Versioning System
version="Version: `{ date +%F | sed 's/-//g' | awk '{print "cvs" $1}'; }`"

#Section
section="Section: EnterLinux"

#Priority
prior="Priority: optional"

#Architecture
arch="Architecture: i386"

#Depends
depends="Depends:"

#Installed-Size
inssize="
Installed-Size: `du -s $temp | awk '{print $1}'`
"

#Maintainer
maintainer="Maintainer: PrinceAMD@EliveCD.org"

# little description
	#Please look in the if / elif statements to find the Little Descrition codename: ld

#big descriptions
	#Please look in the if / elif statements to find the Big Descrition codename: bd

#MD5SUM
calmd5sums(){
echo -e ${MESSAGE[1]}
find $makedeblocation -type f -exec md5sum '{}' \; | sed 's/\ \.\// /g' > $makedeblocation/DEBIAN/md5sums
cat $makedeblocation/DEBIAN/md5sums | sed "s#$makedeblocation\/##g" > $makedeblocation/DEBIAN/md5sums2
mv $makedeblocation/DEBIAN/md5sums2 $makedeblocation/DEBIAN/md5sums
cat $makedeblocation/DEBIAN/md5sums | sed 's/^.*DEBIAN.*$//g' > $makedeblocation/DEBIAN/md5sums2
mv $makedeblocation/DEBIAN/md5sums2 $makedeblocation/DEBIAN/md5sums
}

DefaultNoFlagAnswer="${cyan}Hi ${username} please try -h or --help"
helpinfo="Welcome to EmakeIT
\n How to use?
\n Ans: go into the folder of the e17 lib or application and
\n type e.g ${blue}makedeb --eet ${normal}to make eet control file 
\n then type ${blue}makedeb -c ${normal}to compile and make into *.deb package.
\n Here are the list of functions
\n ${red}LIBRARY${normal}\t\t${red}APPLICATIONS${normal}\t\t${red}E-MODULES${normal}
\n ${green}--eet ${normal}\t\t\t${green}--e17 ${normal}\t\t\t${green}--alarm ${normal}
\n ${green}--ebd ${normal}\t\t\t${green}--e_utils ${normal}\t\t${green}--bling ${normal}
\n ${green}--evas ${normal}\t\t${green}--eclair ${normal}\t\t${green}--calendar ${normal}
\n ${green}--ecore ${normal}\t\t${green}--edje_viewer ${normal}\t\t${green}--cpu ${normal}
\n ${green}--efreet ${normal}\t\t${green}--elation ${normal}\t\t${green}--deskshow ${normal}
\n ${green}--embryo ${normal}\t\t${green}--elicit ${normal}\t\t${green}--efm_nav ${normal}
\n ${green}--edje ${normal}\t\t${green}--elitaire ${normal}\t\t${green}--efm_path ${normal}
\n ${green}--e_dbus ${normal}\t\t${green}--emphasis ${normal}\t\t${green}--emu ${normal}
\n ${green}--epeg ${normal}\t\t${green}--engycad ${normal}\t\t${green}--flame ${normal}
\n ${green}--emotion ${normal}\t\t${green}--enity ${normal}\t\t${green}--forecasts ${normal}
\n ${green}--engrave ${normal}\t\t${green}--enscribe ${normal}\t\t${green}--language ${normal}
\n ${green}--imlib2 ${normal}\t\t${green}--entrance ${normal}\t\t${green}--mail ${normal}
\n ${green}--imlib2_loaders ${normal}\t${green}--ephoto ${normal}\t\t${green}--mem ${normal}
\n ${green}--epsilon ${normal}\t\t${green}--estickies ${normal}\t\t${green}--mixer ${normal}
\n ${green}--ewl ${normal}\t\t\t${green}--evfs ${normal}\t\t\t${green}--moon ${normal}
\n ${green}--exml ${normal}\t\t${green}--examine ${normal}\t\t${green}--net ${normal}
\n ${green}--etk ${normal}\t\t\t${green}--exhibit ${normal}\t\t${green}--news ${normal}
\n ${green}--enhance ${normal}\t\t${green}--expedite ${normal}\t\t${green}--penguins ${normal}
\n ${green}--esmart${normal}\t\t${green}--express ${normal}\t\t${green}--photo ${normal}
\n\t\t\t${green}--iconbar ${normal}\t\t${green}--rain ${normal}
\n\t\t\t${green}--imlib2_tools ${normal}\t\t${green}--screenshot ${normal}
\n\t\t\t${green}--med ${normal}\t\t\t${green}--slideshow ${normal}
\n\t\t\t\t\t\t${green}--snow ${normal}
\n\t\t\t\t\t\t${green}--taskbar ${normal}
\n\t\t\t\t\t\t${green}--tclock ${normal}
\n\t\t\t\t\t\t${green}--uptime ${normal}
\n\t\t\t\t\t\t${green}--weather ${normal}
\n\t\t\t\t\t\t${green}--winselector ${normal}
\n\t\t\t\t\t\t${green}--wlan ${normal}
"

# The if statement to detect the damn name of the stuff i'm going to compile
if [ $1 = --eet ] 
	then
	WhatIsMyName=eet
	ld="Description: Enlightenment file chunk reading/writing library"
	bd="Eet is a tiny library designed to write an arbitary set of chunks of data to a
		\n file and optionally compress each chunk (very much like a zip file) and allow
		\n fast random-access reading of the file later on. It does not do zip as zip
		\n itself has more complexity than we need, and it was much simpler to implement
		\n this once here.
		\n .
		\n It's small, fast, and does a job. It's heavily commented and fully documented."
elif [ $1 = --edb ]
	then
	WhatIsMyName=edb
	ld="Description: Enlightenment's db convenience wrapper library"
	bd="Edb is a database library based on Sleepycat's Berkeley DB. It's main purpose
		\n is providing a fast database system for Enlightenment, while maintaining a
		\n stable and easy-to-use API."
elif [ $1 = --evas ]
	then
	WhatIsMyName=evas
	ld="Description: Enlightenment advanced canvas library"
	bd="Evas is an advanced canvas library, providing six engines for rendering: X11,
		\n OpenGL (hardware accelerated), DirectFB, the framebuffer, Microsoft Windows
		\n and Qtopia.
		\n .
		\n This new version of evas is much more cleaner, compact and portable; and has
		\n Ipaq support. The Ipaq version of the library is just 191Kb in size!
		\n .
		\n Due to its simple API, evas can be developed with rapidly, and cleanly.
		\n Install evas if you want to develop applications against the only
		\n hardware-accelerated canvas library, or if you want to try out the
		\n applications under development."
elif [ $1 = --ecore ]
	then
	WhatIsMyName=ecore
	ld="Description: Core abstraction layer for enlightenment DR 0.17"
	bd="This is the core event abstraction layer and X abstraction layer that makes
		\n doing selections, Xdnd, general X stuff, and event loops, timeouts and idle
		\n handlers fast, optimized, and convenient. It's a separate library so anyone
		\n can make use of the work put into Ecore to make this job easy for
		\n applications."
elif [ $1 = --efreet ]
	then
	WhatIsMyName=efreet
	ld="Description: E17 library providing freedesktop.org specifications"
	bd="Efreet is an implementation of several specifications from freedesktop.org
		\n intended for use in Enlightenment DR17 (e17) and other applications using
		\n the Enlightenment Foundation Libraries (EFL). Currently, the following
		\n specifications are included:
		\n o Base Directory
		\n o Desktop Entry
		\n o Icon Theme
		\n o Menu."
elif [ $1 = --embryo ]
	then
	WhatIsMyName=embryo
	ld="Description: SMALL-based abstract machine (AMX) bytecode interpreter"
	bd="Embryo is primarily a shared library that gives you an API to load
		\n and control interpreted programs compiled into an abstract machine
		\n bytecode that it understands.  This abstract (or virtual) machine is
		\n similar to a real machine with a CPU, but it is emulated in
		\n software.  The architecture is simple and is the same as the
		\n abstract machine (AMX) in the SMALL language as it is based on
		\n exactly the same code. Embryo has modified the code for the AMX
		\n extensively and has made it smaller and more portable.  It is VERY
		\n small.  The total size of the virtual machine code AND header files
		\n is less than 2500 lines of code.  It includes the floating point
		\n library support by default as well.  This makes it one of the
		\n smallest interpreters around, and thus makes is very efficient to
		\n use in code.
		\n ."
elif [ $1 = --edje ]
	then
	WhatIsMyName=edje
	ld="Description: Graphical layout and animation library"
	bd="Edje is a graphical layout and animation library for animated resizable,
		\n compressed and scalable themes. It is the theming engine behind
		\n Enlightenment DR 0.17."
elif [ $1 = --e_dbus ]
	then
	WhatIsMyName=e-dbus
	ld="Description: Enlightenment interface to dbus"
	bd="e-dbus implements some basic convenience wrappers around dbus
		\n to ease integrating dbus with EFL based applications."
elif [ $1 = --epeg ]
	then
	WhatIsMyName=epeg
	ld="Description: Enlightenment jpeg thumbnailer library API"
	bd="It's a convenience library API to using libjpeg to load JPEG images
		\n destined to be turned into thumbnails of the original, saving
		\n information with these thumbnails, retreiving it and managing to load
		\n the image ready for scaling with the minimum of fuss and CPU overhead."
elif [ $1 = --emotion ]
	then
	WhatIsMyName=emotion
	ld="Description: Video playback library used in Enlightenment DR0.17"
	bd="This is the emotion library, a wrapper library used in the next-generation
		\n Enlightenment suite for video playback."
elif [ $1 = --engrave ]
	then
	WhatIsMyName=engrave
	ld="Description:  Enlightenment edje EDC parsing library API"
	bd="Engrave is a library for loading, and writing EDC files."
elif [ $1 = --imlib2 ]
	then
	WhatIsMyName=libimlib2
	ld="Description: Powerful image loading and rendering library"
	bd="Imlib2 is an advanced replacement library for libraries like 
		\n libXpm that provides many more features with much greater 
		\n flexibility and speed than standard libraries, including font 
		\n rasterization, rotation, RGBA space rendering and blending, 
		\n dynamic binary filters, scripting, and more."
elif [ $1 = --imlib2_loaders ]
	then
	WhatIsMyName=libimlib2-loaders
	ld="Description: Additional loaders for Imlib2"
	bd="This package contains XCF, Edb, Eet and Microsoft ico and ani loaders for
		\n Imlib2. Install it if you would like to use such files in Imlib2-based
		\n applications. Enlightenment DR 0.17 (e17) and later require the Edb and Eet
		\n loaders."
elif [ $1 = --epsilon ]
	then
	WhatIsMyName=epsilon
	ld="Description: Enlightenment thumbnailing binary"
	bd="This is a small, display independent, and quick thumbnailing library.
		\n .
		\n This package contains the Epsilon binary program."

elif [ $1 = --ewl ]
	then
	WhatIsMyName=ewl
	ld="Description: Virtual package providing all available EWL engines"
	bd="EWL is a widget library based on the Enlightenment Foundation Libraries"
elif [ $1 = --exml ]
	then
	WhatIsMyName=exml
	ld="Description: Abstracted, generalized xml parser/writer interface"
	bd="EXML is an abstracted, generalized interface to an xml
		\n parser/writer, using ecore data structures and making
		\n things generally easy to get around in.
		\n The functions detailed in EXML.h are fairly self explanatory,
		\n and the io interfaces are also generalized and independent
		\n (open from a socket, write to in memory xml image)."
elif [ $1 = --etk ]
	then
	WhatIsMyName=etk
	ld="Description: Virtual package provfing all engines for Etk"
	bd="ETK is a widget toolkit based on the enlightenment foundation libraries.
		\n .
		\n This is a virtual package providing all available rendering engines."
elif [ $1 = --enhance ]
	then
	WhatIsMyName=enhance
	ld="Description:  Library for easy application GUI development"
	bd="After using Glade to design a GUI, you can save generate
		\n the .glade XML file that describes the interface design
		\n and use it in Enhance to generate an Etk equivalent.
		\n Enhance works at runtime, ie, it does not generate C code.
		\n It will parse the XML at application launch and will do
		\n the appropriate work to create the GUI and the required
		\n callbacks for you. There are several examples in the
		\n examples directory for you to take a look at."
elif [ $1 = --esmart ]
	then
	WhatIsMyName=esmart
	ld="Description: The Esmart Prototype Library"
	bd=" Esmart provides a series of smart object prototypes for a variety of uses.
		\n This package provides programs packaged with Esmart.
		\n .
		\n Esmart is a utility library based on the libraries provided by the
		\n Enlightenment project."
elif [ $1 = --e17 ]
	then
	WhatIsMyName=e17
	ld="Description: Virtual package providing the E17 desktop shell"
	bd="Enlightenment is an advanced window manager for X11. Unique
		\n features include: a fully animated background, nice drop shadows
		\n around windows, backed by an extremely clean and optimized
		\n foundation of APIs.
		\n .
		\n This virtual package provides all you need to run E17:
		\n o E17 windowmanager
		\n o E17 modules
		\n o E17 tools."
elif [ $1 = --e_utils ]
	then
	WhatIsMyName=e-utils
	ld="Description:  A collection of utilities for use with E17 and EFL apps."
	bd="This package contains the following E17 tools:
		\n eapp_editor - An application icon editor for E17 and engage.
		\n e17setroot - Command-line tool that sets the background/root window.
		\n entangle - A simple menu editor.
		\n emblem - A gui tool to set the background/root window.
		\n exige - A program launcher.
		\n ethemes - Theme preview application."
elif [ $1 = --eclair ]
	then
	WhatIsMyName=eclair
	ld="Description:EWL powered media player"
	bd="Eclair is an EFL powered media player front-end using Enlightenment's
		\n video playback library (emotion)."
elif [ $1 = --edje_viewer ]
	then
	WhatIsMyName=edje-viewer
	ld="Description:A simple viewer for edj files "
	bd="Edje-viewer should provide more ease of use than the
		\n edje viewer that comes with edje itself."
elif [ $1 = --elation ]
	then
	WhatIsMyName=elation
	ld="Description:An EFL based media framework application."
	bd="This is a media player based on the Enlightenment Foundation Libraries.  
		\n It's design goal is to work as a front-end for media center devices."
elif [ $1 = --elicit ]
	then
	WhatIsMyName=elicit
	ld="Description:Elicit is a screen zoomer / color picker written with"
	bd="the Enlightenment Foundation Libraries (http://www.enlightnement.org)."
elif [ $1 = --elitaire ]
	then
	WhatIsMyName=elitaire
	ld="Description:The enlightenment card game collection"
	bd="Elitaire is a solitaire card game based on the Enlightenment foundation
		\n libraries. Currently implemented variants are:
		\n - Freecell
		\n - Thougthful
		\n - Vegas
		\n - Spider
		\n - Golf
		\n - Baker's Dozen
		\n - Klondike."
elif [ $1 = --emphasis ]
	then
	WhatIsMyName=emphasis
	ld="Description:An Etk based MPD client"
	bd="Emphasis is an MPD client based on Etk."
elif [ $1 = --engycad ]
	then
	WhatIsMyName=engycad
	ld="Description:engycad"
	bd="information unknow no control or debian folder"
elif [ $1 = --entrance ]
	then
	WhatIsMyName=entrance
	ld="Description:The enlightened login manager. "
	bd="Entrance is a login manager similar to gdm or kdm, it is based on the 
		\n Enlightenment Foundation Libraries.  It is fully themeable via Edje."
elif [ $1 = --enity ]
	then
	WhatIsMyName=enity
	ld="Description:enity "
	bd="no info found"
elif [ $1 = --enscribe ]
	then
	WhatIsMyName=enscribe
	ld="Description:Enscribe is a simple text editor written using the "
	bd="Enlightenment Foundation Libraries (http://www.enlightnement.org)."
elif [ $1 = --ephoto ]
	then
	WhatIsMyName=ephoto
	ld="Description:A slideshow creator and much more "
	bd="Ephoto is a powerful slideshow creator which can be used as an image viewer
		\n or image editor/manipulator as well."
elif [ $1 = --estickies ]
	then
	WhatIsMyName=estickies
	ld="Description:A sticky notes application based on Etk "
	bd="Estickies is a sticky notes application that uses Etk. It
		\n uses Etk's runtime theming support to change the look and
		\n feel of the windows and buttons."
elif [ $1 = --evfs ]
	then
	WhatIsMyName=evfs
	ld="Description:enlightenment virtual filesystem tools/library "
	bd=" EVFS - a virtual file system for E with plugins and URI nesting
		\n support.
		\n This package contains evfs tools.
		\n This package contains the library files.
		\n This package contains files needed for development."
elif [ $1 = --examine ]
	then
	WhatIsMyName=examine
	ld="Description:Examine is an interface for configuring applications "
	bd="that use ecore_config from the Enlightenment Foundation Libraries (EFL).
		\n In the Examine package are two applications, examine (still very basic) and
		\n exsh.  These applications connect to the configuration library and allow the
		\n user to alter configurations."
elif [ $1 = --exhibit ]
	then
	WhatIsMyName=exhibit
	ld="Description:The Etk image viewer "
	bd="Exhibit is an image viewer that uses Etk as its toolkit.
		\n Exhibit supports  image previews for image types supported
		\n by Evas and allows for  directory changing using a point
		\n and click interface or a text input box with tab
		\n autocompletion support.
		\n Common operations include:
		\n - rotation / flipping
		\n - sharpen / blur
		\n - saving
		\n - resizing (needs implementation)
		\n - zooming in and out (needs implementation)
		\n - drag and drop (needs implementation)
		\n - image sorting (needs implementation)."
elif [ $1 = --expedite ]
	then
	WhatIsMyName=expedite
	ld="Description:Expedite "
	bd="no info on this thing"
elif [ $1 = --express ]
	then
	WhatIsMyName=express
	ld="Description:Express is a multi-protocol (or will be) chat client using the  "
	bd="the Enlightenment Foundation Libraries (http://www.enlightnement.org)."
elif [ $1 = --iconbar ]
	then
	WhatIsMyName=iconbar
	ld="Description:Enlightenment iconbar"
	bd="This is a standalone iconbar based on the e17 iconbar by raster and rephorm."
elif [ $1 = --imlib2_tools ]
	then
	WhatIsMyName=libimlib2-tools
	ld="Description: Utilities for libimlib2 "
	bd="Utilities and other stuff for imlib2 / libimlib2"
elif [ $1 = --med ]
	then
	WhatIsMyName=med
	ld="Description: e17 menu editor"
	bd="dot dot dot"
elif [ $1 = --alarm ]
	then
	WhatIsMyName=emodule0-alarm
	ld="Description:The E17 Alarm Module "
	bd="A module to set Alarms in Enlightenment 17."
elif [ $1 = --bling ]
	then
	WhatIsMyName=emodule0-bling
	ld="Description:An E17 module providing a Composite Manager "
	bd=" An E17 module which acts as a Composite Manager."
elif [ $1 = --calendar ]
	then
	WhatIsMyName=emodule0-calendar
	ld="Description: E17 calendar module "
	bd="An E17 module which displays a calendar on the desktop."
elif [ $1 = --cpu ]
	then
	WhatIsMyName=emodule0-cpu
	ld="Description:E17 monitor module for the CPU load "
	bd="An E17 module which displays the current CPU load. Features are:
		\n - draw a graph and/or draw the decimal load percentage
		\n - adjust the check interval."
elif [ $1 = --deskshow ]
	then
	WhatIsMyName=emodule0-deskshow
	ld="Description:E17 module which minimizes all windows "
	bd=" An E17 module which minimizes all windows in order to show the
		\n desktop."
elif [ $1 = --efm_nav ]
	then
	WhatIsMyName= emodule0-efm-nav
	ld="Description:E17 file manager navigation module "
	bd="An E17 module which allows the user to navigate through the file manager
		\n history."
elif [ $1 = --efm_path ]
	then
	WhatIsMyName=emodule0-efm-path
	ld="Description:E17 file manager path module "
	bd="An E17 module which allows for displaying and editing the path in the
		\n file manager."
elif [ $1 = --emu ]
	then
	WhatIsMyName=emodule0-emu
	ld="Description:An E17 module front end "
	bd=" An E17 module which works as a front end that runs arbitrary back
		\n ends written in any language.  Emu provides a high level interface
		\n to some of the things that modules typically do.  The backends can
		\n be written by anybody in any language."

elif [ $1 = --flame ]
	then
	WhatIsMyName=emodule0-flame
	ld="Description: An E17 module that draws flames on the desktop "
	bd="Flame is an E17 module which draws flames of configurable colors on
		\n the lower part of the screen."
elif [ $1 = --forecasts ]
	then
	WhatIsMyName=emodule0-forecasts
	ld="Description:An E17 module which displays weather forecasts "
	bd="Forecasts is an E17 module which displays the weather forecast."
elif [ $1 = --language ]
	then
	WhatIsMyName=emodule0-language
	ld="Description:An E17 module that manages keyboard layouts and more "
	bd="This is an E17 module which allows to control the keyboard layout,
		\n keyboard model and keyboard layout variant."
elif [ $1 = --mail ]
	then
	WhatIsMyName=emodule0-mail
	ld="Description:An E17 module for checking mailboxes "
	bd="Mail is an E17 module which checks pop3, imap, mailbox and mdir mailboxes."
elif [ $1 = --mem ]
	then
	WhatIsMyName=emodule0-mem
	ld="Description:An E17 memory monitoring module "
	bd="An E17 module which monitors the RAM usage. It features the following:
		\n - display text and/or graph
		\n - display text in percentage or absolute
		\n - ignore/Count buffers
		\n - ignore/Count cached."
elif [ $1 = --mixer ]
	then
	WhatIsMyName=emodule0-mixer
	ld="Description:An E17 sound mixer module "
	bd="An E17 module for adjusting the sound mixer settings."
elif [ $1 = --moon ]
	then
	WhatIsMyName=emodule0-moon
	ld="Description:Moon Clock module for Enlightenment "
	bd="Moon is an E17 module which displays information about the current
		\n phase of the moon."
elif [ $1 = --net ]
	then
	WhatIsMyName=emodule0-net
	ld="Description:An E17 network interface monitor module "
	bd="An E17 module which monitors TX and RX events of a specified
		\n network device. Features are:
		\n - show text and/or graph
		\n - configure poll interval
		\n - choose device."
elif [ $1 = --news ]
	then
	WhatIsMyName=emodule0-news
	ld="Description:The E17 new modules "
	bd="An E17 module to display feeds like Rss or Atom on the desktop."
elif [ $1 = --penguins ]
	then
	WhatIsMyName=emodule0-penguins
	ld="Description:The E17 penguins module "
	bd="An E17 module to display penguins on the desktop."
elif [ $1 = --photo ]
	then
	WhatIsMyName=emodule0-photo
	ld="Description:An E17 module for displaying pictures "
	bd="An E17 module which displays pictures in a slideshow.
		\n Some of the features are:
		\n - define mouse button to trigger action
		\n - actions such as set as background, show infos or open in a viewer."
elif [ $1 = --rain ]
	then
	WhatIsMyName=emodule0-rain
	ld="Description:An E17 module displaying rain on the desktop "
	bd="An E17 module which displays falling rainsdrops on the desktop.
		\n Features are:
		\n - display/hide clouds
		\n - set rain density."
elif [ $1 = --screenshot ]
	then
	WhatIsMyName=emodule0-screenshot
	ld="Description:An E17 screenshot module "
	bd=" An E17 module which enables the user to take screenshots. It contains
		\n the following features:
		\n - choose between import and scrot
		\n - specify delay time, save directory and filename
		\n - choose to include the image border or window manager frame (scrot/import)
		\n - use image dithering (import)
		\n - choose window to grab (import)
		\n - silent/verbose (import)
		\n - trim edges (import)
		\n - generate thumbnail (scrot)."
elif [ $1 = --slideshow ]
	then
	WhatIsMyName=emodule0-slideshow
	ld="Description:An E17 background cycle module "
	bd="An E17 module which changes the desktop background on a given
		\n interval. It cycles through all available background images."
elif [ $1 = --snow ]
	then
	WhatIsMyName=emodule0-snow
	ld="Description:An E17 module displaying rain on the desktop "
	bd="An E17 module which displays falling snow flakes on the desktop.
		\n Features are:
		\n - display/hide trees
		\n - set snow density."
elif [ $1 = --taskbar ]
	then
	WhatIsMyName=emodule0-taskbar
	ld="Description:An E17 taskbar module "
	bd="An E17 module acts as an extension of the default ibox module."
elif [ $1 = --tclock ]
	then
	WhatIsMyName=emodule0-tclock
	ld="Description:An E17 text clock module "
	bd="An E17 module which displays a digital clock on the desktop."
elif [ $1 = --uptime ]
	then
	WhatIsMyName=emodule0-uptime
	ld="Description:An E17 uptime indicator module "
	bd="An E17 module indicating the system's current uptime in a configurable
		\n interval."
elif [ $1 = --weather ]
	then
	WhatIsMyName=emodule0-weather
	ld="Description:An E17 weather module "
	bd=" An E17 module displaying the current weather conditions.
		\n Features are:
		\n - choose between simple and detailed view
		\n - specify poll time
		\n - display degree in Celsius or Fahrenheit
		\n - choose the weather station from a menu or via ICAO Code."

elif [ $1 = --winselector ]
	then
	WhatIsMyName=emodule0-winselector
	ld="Description:An E17 module providing menu-based access to all windows "
	bd="An E17 module which enables access to all windows through a shelf
		\n button."
elif [ $1 = --wlan ]
	then
	WhatIsMyName=emodule0-wlan
	ld="Description:An E17 WLAN monitor module "
	bd="An E17 module monitoring the link quality of a wireless network
		\n interface. Features are:
		\n - choose display as text and/or graph
		\n - specify the check interval."
elif [ $1 = -c ]
	then
	echo "Starting to compile..."
	else 
	echo "What The Fuck Are You Doing"
fi


configureoption(){
echo -e "not in use yet"
}

controlfile(){
echo Making control file...

touch $makedeblocation/configureoptions

${makemakedeb}

${makemakedeb1}

[ -e $makedeblocation/DEBIAN/control ] && rm -f $makedeblocation/DEBIAN/control

touch $makedeblocation/DEBIAN/control

echo $packname ${WhatIsMyName} >> $makedeblocation/DEBIAN/control

echo $version >> $makedeblocation/DEBIAN/control

echo $section >> $makedeblocation/DEBIAN/control

echo $prior >> $makedeblocation/DEBIAN/control

echo $arch >> $makedeblocation/DEBIAN/control

echo $depends >> $makedeblocation/DEBIAN/control

echo ${inssize} >> $makedeblocation/DEBIAN/control

echo $maintainer >> $makedeblocation/DEBIAN/control

echo ${ld} >> $makedeblocation/DEBIAN/control

echo -e " "${bd} >> $makedeblocation/DEBIAN/control

echo Finish making control file.
}

compilesource(){
make-deb compile
echo Finish Compiling
}

case $1 in
	--eet) controlfile 
	;;
	--edb) controlfile
	;;
	--evas) controlfile
	;;
	--ecore) controlfile
	;;
	--efreet) controlfile
	;;
	--embryo) controlfile
	;;
	--edje) controlfile
	;;
	--e_dbus) controlfile
	;;
	--epeg) controlfile
	;;
	--emotion) controlfile
	;;
	--engrave) controlfile
	;;
	--imlib2) controlfile
	;;
	--imlib2_loaders) controlfile
	;;
	--epsilon) controlfile
	;;
	--ewl) controlfile
	;;
	--exml) controlfile
	;;
	--etk) controlfile
	;;
	--enhance) controlfile
	;;
	--esmart) controlfile
	;;
	--e17) controlfile
	;;
	--e_utils) controlfile
	;;
	--eclair) controlfile
	;;
	--edje_viewer) controlfile
	;;
	--elation) controlfile
	;;
	--elicit) controlfile
	;;
	--elitaire) controlfile
	;;
	--emphasis) controlfile
	;;
	--engycad) controlfile
	;;
	--enity) controlfile
	;;
	--enscribe) controlfile
	;;
	--entrance) controlfile
	;;
	--ephoto) controlfile
	;;
	--estickies) controlfile
	;;
	--evfs) controlfile
	;;
	--examine) controlfile
	;;
	--exhibit) controlfile
	;;
	--expedite) controlfile
	;;
	--express) controlfile
	;;
	--iconbar) controlfile
	;;
	--imlib2_tools) controlfile
	;;
	--med) controlfile
	;;
	--alarm) controlfile
	;;
	--bling) controlfile
	;;
	--calendar) controlfile
	;;
	--cpu) controlfile
	;;
	--tclock) controlfile
	;;
	--deskshow) controlfile
	;;
	--efm_nav) controlfile
	;;
	--efm_path) controlfile
	;;
	--emu) controlfile
	;;
	--flame) controlfile
	;;
	--forecasts) controlfile
	;;
	--language) controlfile
	;;
	--mail) controlfile
	;;
	--mem) controlfile
	;;
	--mixer) controlfile
	;;
	--moon) controlfile
	;;
	--net) controlfile
	;;
	--news) controlfile
	;;
	--penguins) controlfile
	;;
	--photo) controlfile
	;;
	--rain) controlfile
	;;
	--screenshot) controlfile
	;;
	--slideshow) controlfile
	;;
	--snow) controlfile
	;;
	--taskbar) controlfile
	;;
	--uptime) controlfile
	;;
	--weather) controlfile
	;;
	--winselector) controlfile
	;;
	--wlan) controlfile
	;;
	-c|--compile) compilesource
	;;
	-h|--help) echo -e  $helpinfo
	;;
	*) #this is controled by $DefaultNoFlagAnswer
	;;
esac