LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to make a package to install it dependencies? (https://www.linuxquestions.org/questions/debian-26/how-to-make-a-package-to-install-it-dependencies-555625/)

jabka 05-21-2007 03:14 PM

how to make a package to install it dependencies?
 
Howdy,..

i've started reading this manual to understand how to create better packages for debian so i have created a small package that i call klthemes
so here is the control file :
Code:

Source: klthemes
Section: contrib
Priority: extra
Maintainer: Jabka Atu  <mashrom.head@gmail.com>

Package: klthemes
Architecture: all
Depends:
Description: Collection of kdm themes collected from kde-look.org by Jabka Atu include the next themes: hardDrive, Debian Orange, Technodream, daemonic-smegma_1.0, devil,          yellowrose, sidux-highway,optical scanning 2007, KdmLinux, Kubuntu KDM Gears (tux)

Summary: collection of kdm themes


all nice and good but i need little help :

1.from some reason instead of using one line for summary and more for description all went to summry.
2.i need to add depends: kdetheme and some how to make it install it if it isn't allready installed:
i understand that i need to use preinst script could you please provide an example for example if i have foo dependency how would my preinst will be ?


All times are GMT -5. The time now is 07:03 PM.