Describe Packagebau debian, ohne signing, mit und ohne autoconf here.

http://www.debian.org/doc/manuals/maint-guide/ch-start.de.html !!! http://www.linux-praxis.de/lpic2/lpi201/deb.html

http://www.linux-praxis.de/lpic2/lpi201/deb.html # kleines debian Beispiel

http://debiananwenderhandbuch.de/debianpakete.html

P1.11 von grund auf geentoo (filemanager, autoconf, ohne Makefilemanipulation) installieren P1.12 http://www.linux-praxis.de/lpic2/lpi201/2.211.2.html hello beispiel, ohne autoconf, Makefilemanipulation

P1.11 von grund auf geentoo (filemanager) installieren

apt-get install debhelper dh-make autotools-dev libgtk1.2-dev fakeroot
apt-get install lintian
apt-cache show gentoo
mkdir gentoolp
cd gentoolp
wget http://prdownloads.sourceforge.net/gentoo/gentoo-0.11.56.tar.gz
tar xzf gentoo-0.11.56.tar.gz
cd gentoo-0.11.56/
dh_make -e tomfeld@gmx.de -f ../gentoo-0.11.56.tar.gz # macht ./debian

# hier Dateien verändern
dpkg-buildpackage -rfakeroot # wählen
ls ..

dpkg -i ../gentoo_0.11.56-1_i386.deb # Dateien an falschem Ort
dpkg -r gentoo
lintian -i ../gentoo_0.11.56-1_i386.changes # Fehler finden
dpkg-deb --contents ../gentoo_0.11.56-1_i386.deb # deb entpacken

P1.12 http://www.linux-praxis.de/lpic2/lpi201/2.211.2.html  hello beispiel

mkdir hallo-1.0.0
cd hallo-1.0.0/
wget -q http://www.linux-praxis.de/lpic2/lpi201/demo/hallo.c
wget -q http://www.linux-praxis.de/lpic2/lpi201/demo/Makefile
wget -q http://www.linux-praxis.de/lpic2/lpi201/demo/README
dh_make --createorig

vim Makefile # nicht verändert
vim debian/rules
dpkg-buildpackage
# dir muss Schema entsprechen sonst tut dh_make nicht
mv hellolpi hellolpi-0.0.0
cd hellolpi-0.0.0
rm .Makefile.swp
rm debian/.rules.swp
# Makefile: cp hallo $(DESTDIR)$(BINDIR);
#  [ -d $(DOCDIR) ] 
mkdir -p  $(DOCDIR)
# rules: $(MAKE) DESTDIR=$(CURDIR)/debian/hellolpi install
# jetzt ist das Kompilat an der richtigen Stelle
dpkg-buildpackage
dpkg-deb --contents ../hellolpi_0.0.0-1_i386.deb #

Packagebau debian, ohne signing, mit und ohne autoconf (zuletzt geändert am 2008-07-09 14:36:28 durch JochenWeihgold)