200 lines
3.1 KiB
HTML
200 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Introduction</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Debian Binary Package Building HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Debian Binary Package Building HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Getting Started"
|
|
HREF="x48.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Debian Binary Package Building HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x48.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN35"
|
|
></A
|
|
>1. Introduction</H1
|
|
><P
|
|
>
|
|
|
|
|
|
The intended use of such a newly created
|
|
archive is to install it only on your own box, not to get them into the official
|
|
Debian distribution. To follow the 'official' process, please study
|
|
the <A
|
|
HREF="http://www.debian.org/doc/maint-guide/"
|
|
TARGET="_top"
|
|
>Debian New Maintainers' Guide</A
|
|
>.
|
|
</P
|
|
><P
|
|
>
|
|
Normal Debian packages get a proper source package,
|
|
including a debian/rules file which
|
|
automates the steps involved in creating the binary package.
|
|
Here we just show how to package a simple shell script or binary executable
|
|
into a small binary package.
|
|
|
|
</P
|
|
><P
|
|
>
|
|
BTW, I assume you know how to use 'tar', 'man', and what a '.tar.gz' file and
|
|
<A
|
|
HREF="http://www.debian.org/"
|
|
TARGET="_top"
|
|
>Debian</A
|
|
> is (and how
|
|
to use an editor ;-), but I
|
|
assume you have never touched programs like 'ar' or 'dpkg'.
|
|
|
|
</P
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN42"
|
|
></A
|
|
>1.1. Resources on the Web</H2
|
|
><P
|
|
>
|
|
|
|
<A
|
|
HREF="http://www.debian.org/doc/manuals/reference/reference.en.html"
|
|
TARGET="_top"
|
|
>The Debian Reference</A
|
|
>
|
|
gives an excellent overview as well as detailed information
|
|
for everything Debian specific.
|
|
</P
|
|
><P
|
|
>
|
|
The official document for creating your own Debian packages is the
|
|
<A
|
|
HREF="http://www.debian.org/doc/maint-guide/"
|
|
TARGET="_top"
|
|
>Debian New Maintainers' Guide</A
|
|
>.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x48.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Debian Binary Package Building HOWTO</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Getting Started</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |