Pemaketan blankon-ii
Upcoming SlideShare
Loading in...5

Like this? Share it with your network


Pemaketan blankon-ii






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Pemaketan blankon-ii Presentation Transcript

  • 1. PEMAKETAN BLANKON Sesion II Pengenalan Pemaketan
  • 2. Proses Pemaketan
  • 3. Direktori Debian Dalam Direktori Debian minimal terdapat berkas : ● control ● changelog ● copyright ● rules
  • 4. Direktori Debian Source: ed Section: unknown Priority: extra Maintainer: Akhmat Safrudin <> 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 <> 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 <> on Fri, 25 Dec 2009 19:17:12 +0000 It was downloaded from: <url://> 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 ● Required targets: build, binary, binary- arch, binary-indep, clean. ● Beberapa metode untuk debian/rules: manual, debhelper, cdbs
  • 9. Direktori Debian
  • 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 :