Criando pacote debian: mudanças entre as edições

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Nova página: primeiro instalei as ferramentas necessárias para criar o pacote debian # apt-get install dpkg-dev debhelper devscripts fakeroot linda dh-make depois segui os seguintes passos $ wge...
 
Sem resumo de edição
Linha 1: Linha 1:
primeiro instalei as ferramentas necessárias para criar o pacote debian
primeiro instalei as ferramentas necessárias para criar o pacote debian
 
# apt-get install dpkg-dev debhelper devscripts fakeroot linda dh-make
# apt-get install dpkg-dev debhelper devscripts fakeroot linda dh-make


depois segui os seguintes passos
depois segui os seguintes passos
$ wget -c http://www.somasuite.org/src/somax-1.1.tar.gz
$ wget -c http://www.somasuite.org/src/somax-1.1.tar.gz
$ tar zxvf somax-1.1.tar.gz
$ tar zxvf somax-1.1.tar.gz
$ cd somax-1.1
$ cd somax-1.1
$ dh_make -n -s -e banto@riseup.net
$ dh_make -n -s -e banto@nkosi.org
$ rm debian/*.ex debian/*.EX
$ rm debian/*.ex debian/*.EX
$ rm debian/README debian/README.Debian
$ rm debian/README debian/README.Debian
$ fakeroot debian/rules clean
$ fakeroot debian/rules clean
$ debian/rules build
$ debian/rules build
$ fakeroot debian/rules binary
$ fakeroot debian/rules binary


e gerou o pacote somax_1.1_i386.deb um nível acima da onde estava.
e gerou o pacote somax_1.1_i386.deb um nível acima da onde estava.
Linha 20: Linha 19:
dentro de contral.tar.gz tem dois arquivo: control e md5sums
dentro de contral.tar.gz tem dois arquivo: control e md5sums
para gerar o arquivo md5sums use:
para gerar o arquivo md5sums use:
find usr -exec md5sum {} >> md5sums \;
find usr -exec md5sum {} >> md5sums \;


exemplo:
exemplo:
 
Package: lmms
Package: lmms
Version: 0.1.4
Version: 0.1.4
Section: sound
Section: sound
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:3.4.1-3), libice6  
Depends: libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:3.4.1-3), libice6  
| xlibs (>> 4.1.0), libjpeg62, libqt3c102-mt (>= 3:3.$
| xlibs (>> 4.1.0), libjpeg62, libqt3c102-mt (>= 3:3.$
Installed-Size: 10624
Installed-Size: 10624
Maintainer: banto <banto@riseup.net>
Maintainer: banto <banto@riseup.net>
Description: Linux Multimedia Studio
Description: Linux Multimedia Studio
  LMMS aims to be a free alternative to popular (but commercial and
  LMMS aims to be a free alternative to popular (but commercial and
  closed-source) programs such as FruityLoops, Cubase and Logic. LMMS combines
  closed-source) programs such as FruityLoops, Cubase and Logic. LMMS combines
  the features of a tracker/sequencer-program
  the features of a tracker/sequencer-program
  (pattern-/channel-/sample-/song-/effect-management) and those of powerful
  (pattern-/channel-/sample-/song-/effect-management) and those of powerful
  synthesizers in a modern, user-friendly and easy to use graphical
  synthesizers in a modern, user-friendly and easy to use graphical
  user-interface. Although Techno/Trance is the music that can be written with
  user-interface. Although Techno/Trance is the music that can be written with
  LMMS best, you can write your own music of any genre, because it's no problem
  LMMS best, you can write your own music of any genre, because it's no problem
  to use your own samples or just the typical wave-shape of an instrument. Of
  to use your own samples or just the typical wave-shape of an instrument. Of
  course there're (let's better say "will be"!) many effects, you can apply to
  course there're (let's better say "will be"!) many effects, you can apply to
  your instruments/channels, like reverb, delay, distortion and many more.
  your instruments/channels, like reverb, delay, distortion and many more.
  .
  .
  Homepage: http://lmms.sf.net
  Homepage: http://lmms.sf.net

Edição das 15h12min de 6 de dezembro de 2008

primeiro instalei as ferramentas necessárias para criar o pacote debian

# apt-get install dpkg-dev debhelper devscripts fakeroot linda dh-make

depois segui os seguintes passos

$ wget -c http://www.somasuite.org/src/somax-1.1.tar.gz
$ tar zxvf somax-1.1.tar.gz
$ cd somax-1.1
$ dh_make -n -s -e banto@nkosi.org
$ rm debian/*.ex debian/*.EX
$ rm debian/README debian/README.Debian
$ fakeroot debian/rules clean
$ debian/rules build
$ fakeroot debian/rules binary

e gerou o pacote somax_1.1_i386.deb um nível acima da onde estava.

agora basta "dpkg -i somax_1.1_i386.deb"

dentro de contral.tar.gz tem dois arquivo: control e md5sums para gerar o arquivo md5sums use:

find usr -exec md5sum {} >> md5sums \;

exemplo:

Package: lmms
Version: 0.1.4
Section: sound
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.2.ds1-21), libgcc1 (>= 1:3.4.1-3), libice6 
| xlibs (>> 4.1.0), libjpeg62, libqt3c102-mt (>= 3:3.$
Installed-Size: 10624
Maintainer: banto <banto@riseup.net>
Description: Linux Multimedia Studio
  LMMS aims to be a free alternative to popular (but commercial and
  closed-source) programs such as FruityLoops, Cubase and Logic. LMMS combines
  the features of a tracker/sequencer-program
  (pattern-/channel-/sample-/song-/effect-management) and those of powerful
  synthesizers in a modern, user-friendly and easy to use graphical
  user-interface. Although Techno/Trance is the music that can be written with
  LMMS best, you can write your own music of any genre, because it's no problem
  to use your own samples or just the typical wave-shape of an instrument. Of
  course there're (let's better say "will be"!) many effects, you can apply to
  your instruments/channels, like reverb, delay, distortion and many more.
  .
  Homepage: http://lmms.sf.net