pemaketan debian


Dasar -dasar mebuat paket debian :

1. Kesatu
sudo apt-get install devscripts build-essential fakeroot
debhelper gnupg dh-make ubuntu-dev-tools

2. Kedua
nano .bashrc
(tulis pada akhir baris:)
export DEBFULLNAME="Joe Hacker" (sesuaikan dengan nama Anda)
export DEBEMAIL="joe.hacker@isp.com" (sesuaikan dengan e-mail Anda)

3. Ketiga
source .bashrc
export | grep DEB

4. Keempat
gpg --gen-key
(buat)
Real name: Joe Hacker (nama = subjudul kedua)
E-mail address: joe.hacker@isp.com (e-mail= subjudul kedua)
Passphrase: paswordpercobaanjanganditiru

5. Kelima

source .bashrc

Ketujuh

pull-lp-source namapaket
dh_make -c gpl2 --createorig -s
cd debian
ls
rm -rf *.ex *.EX dirs docs info README.Debian
ls

Kedelapan

nano changelog
(edit dengan susunan sebagai berikut:)
ed (0.9-0ubuntu1) intrepid; urgency=low
 * Initial release.
 * Repacked .tar.bz2 to .tar.gz tarball, no other changes.

Kesembilan

nano control

Kesepuluh

nano copyright

Kesebelas

cd ..
debuild -S -sa
dpkg-debuildpackage -rfakeroot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s