4. Direktori Debian
Source: ed
Section: unknown
Priority: extra
Maintainer: Akhmat Safrudin <somat@blankonlinux.or.id>
Build-Depends: debhelper (>= 7), autotools-dev
Standards-Version: 3.8.3
Homepage: <insert the upstream URL, if relevant>
Package: ed
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
BERKAS CONTROL:
Mendefinisikan berkas sumber dan berkas binari dari
sebuah paket
5. Direktori Debian
● Source : nama paket kode sumber
● Section:
admin, comm, devel, doc, editors, electronics, embedded,
games, gnome, graphics, hamradio, interpreters, kde,
libs, libdevel, mail, math, misc, net, news, oldlibs,
otherosfs, perl, python, science, shells, sound, tex, text,
utils, web, x11.
● Priority:
required, important, standard, optional, extra.
● Maintainer: nama pengelola paket
● Build-Depends: daftar paket-paket development yang
dibutuhkan untuk membangun paket binary.
● Standards-Version: versi dari debian policy
6. Direktori Debian
ed (1.1-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-- Akhmat Safrudin <somat@blankonlinux.or.id> Fri, 25 Dec 2009 19:17:12 +0000
BERKAS CHANGELOG :
Catatan perubahan yang terjadi pada paket
7. Direktori Debian
BERKAS COPYRIGHT :
Informasi copyright paket
This work was packaged for Debian by:
Akhmat Safrudin <somat@blankonlinux.or.id> on Fri, 25 Dec 2009 19:17:12 +0000
It was downloaded from:
<url://example.com>
Upstream Author(s):
<put author's name and email here>
<likewise for another author>
Copyright:
<Copyright (C) YYYY Firstname Lastname>
<likewise for another author>
License:
8. Direktori Debian
● Perintah untuk meng-compile kode sumber
dan membangun paket.
● Dimulai dengan #!/usr/bin/make -f
http://www.gnu.org/software/make/manual/make.html
● Required targets: build, binary, binary-
arch, binary-indep, clean.
● Beberapa metode untuk debian/rules:
manual, debhelper, cdbs
10. Direktori Debian
#!/usr/bin/make -f
# -*- makefile -*-
# 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
%:
dh $@
11. Membangun Paket
Thats All
● Jalankan debian/rules binary secara manual
● dpkg-buildpackages -rfakeroot
● sudo pbuilder build foo_1.0-1.dsc
Terdapat beberapa cara :