Debian Paket erstellen: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
 
*tar -xvzf daq-2.0.7.tar.gz  
 
*tar -xvzf daq-2.0.7.tar.gz  
 
*cd daq-2.0.7/
 
*cd daq-2.0.7/
 +
=Erstellen der Vorlagen=
 +
*dh_make -f ../daq-2.0.7.tar.gz
 +
**Type of package: (single, indep, library, python)
 +
**[s/i/l/p]?
 +
*s

Version vom 5. Juni 2020, 08:55 Uhr

Beispiel daq

Vorbereitung

  • echo export DEBFULLNAME='"Xinux Technik"' >> ~/.profile
  • echo export DEBEMAIL='"technik@xinux.de"' >> ~/.profile
  • source ~/.profile

Install

  • sudo apt-get install build-essential debhelper dh-make quilt fakeroot lintian

Installation der von daq benötigten Pakete

  • apt-get install -y build-essential libpcap-dev libpcre3-dev libdumbnet-dev bison flex zlib1g-dev liblzma-dev openssl libssl-dev

Verzeihnis erstellen

  • mkdir daq
  • cd daq

daq runterladen und ins Verzeichnis wechseln

Erstellen der Vorlagen

  • dh_make -f ../daq-2.0.7.tar.gz
    • Type of package: (single, indep, library, python)
    • [s/i/l/p]?
  • s