PEMAKETAN BLANKON
http://blankonlinux.or.id
somat@blankonlinux.or.id
Sesion II
Pengenalan
Pemaketan
Proses Pemaketan
Direktori Debian
Dalam Direktori Debian minimal
terdapat berkas :
● control
● changelog
● copyright
● rules
Direktori Debian
Source: ed
Section: unknown
Priority: extra
Maintainer: Akhmat Safrudin <somat@blankonlinux.or.id>
Build-...
Direktori Debian
● Source : nama paket kode sumber
● Section:
admin, comm, devel, doc, editors, electronics, embedded,
gam...
Direktori Debian
ed (1.1-1) unstable; urgency=low
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
-...
Direktori Debian
BERKAS COPYRIGHT :
Informasi copyright paket
This work was packaged for Debian by:
Akhmat Safrudin <somat...
Direktori Debian
● Perintah untuk meng-compile kode sumber
dan membangun paket.
● Dimulai dengan #!/usr/bin/make -f
http:/...
Direktori Debian
Direktori Debian
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was original...
Membangun Paket
Thats All
● Jalankan debian/rules binary secara manual
● dpkg-buildpackages -rfakeroot
● sudo pbuilder bui...
Upcoming SlideShare
Loading in …5
×

Pemaketan blankon-ii

284 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
284
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Pemaketan blankon-ii

  1. 1. PEMAKETAN BLANKON http://blankonlinux.or.id somat@blankonlinux.or.id Sesion II Pengenalan Pemaketan
  2. 2. Proses Pemaketan
  3. 3. Direktori Debian Dalam Direktori Debian minimal terdapat berkas : ● control ● changelog ● copyright ● rules
  4. 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. 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. 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. 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. 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
  9. 9. Direktori Debian
  10. 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. 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 :

×