New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

What language for system administration do you use ?







( 731 votes ~ 3 comments )

 

Weblog entry #1 for DebianSick

Creating metapackages with equivs
Posted by DebianSick on Sat 19 Nov 2011 at 21:41
Tags: none.
We must install our metapackages tool

apt-get install equivs

Now create a directory (this can be done with a regular user permission)

mkdir web-development

Change to the new dir

cd web-development

Now we build a template with equivs doing the command

equivs-control web-development

_Template content_

### Commented entries have reasonable defaults.
### Uncomment to edit them.
Section: misc
Priority: optional
Standards-Version: 3.6.2

Package:
# Version:
# Maintainer: Your Name
# Pre-Depends:
# Depends:
# Recommends:
# Suggests:
# Provides:
# Replaces:
# Architecture: all
# Copyright:
# Changelog:
# Readme:
# Extra-Files:
Description:
long description and info
.
second paragraph

_End template content_

We edit the template and put the package information.

Section: misc
Priority: optional
Standards-Version: 3.6.2

Package: web-development
Version: 1:1.0
Maintainer: Franklin G. Mendoza (the-email@example.com)
Depends: ${misc:Depends}, bluefish, cssed, gphpedit, filezilla, cakephp, apache2, libapache2-mod-php5, mysql-server-5.1, php5-cgi, php5-mysql, php5-curl, php5-gd, php5-idn, php-pear, php5-imagick, php5-imap, php5-mcrypt, php5-memcache, php5-mhash, php5-ming, php5-ps, php5-pspell, php5-recode, php5-snmp, php5-sqlite, php5-tidy, php5-xmlrpc php5-xsl, php5-json, php-xajax
Recommends: gimp, inkscape, phpmyadmin
Architecture: all
Description: Metapackage to install a web development environment on GNOME
Metapackage to install a web development environment on GNOME
.
* IDE for a full PHP code
* Server support for PHP, MySQL and Ajax

If you want to build only the .deb package (testing purpose) you can run the next command:

equivs-build web-development

Building a full packages with sources, .dsc, .changes and you gpg sign (serious purpose):

1.- Create the "changelog" file with this example content inside:

web-development (1.0:0.1) unstable; urgency=low


* First release.

-- Franklin G. Mendoza <the-email@example.com> Thu, 22 Sep 2011 22:33:15 -0430

2.- Create the "copyright" file with this example content inside:

Authors:


Copyright (C) 2011 Franklin G. Mendoza <the-email@example.com>


License:


This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.


This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'

Now we build the full package:

equivs-build -f web-development

 

 

 

Flattr