Você está na página 1de 1

Notes a b o u t Debia n Package for Argos.

1. Dep e n d e ncies a re m e n tio ne d in a d e bia n / c o n t r ol file which is


inclu d e d in t h e s o u rce dir while creati ng a p ackage. a p t - get
a u t o m a tically ins talls everyt hi ng t h a t it s ees in t he d e p e n d e ncies
sectio n.
2. An u p d a t e t o t h e s o u rce co de im plies t h a t a n ew p ackage h a s t o be
crea te d. This co ul d b e d o n e by d oi ng t h e following:
3. If its a versio n u p g r a d e t h e n d o t his:
• Make a direct ory n a m e d argos - < version >
• cd in t o t h e di r.
• exec u te t hi s:
d h_ m a ke - e < m ai nt ainer@e m ail - a d dress> - f .. / ar go
s - < version >.tar.g z
/ * Ass u mi ng t h a t a rgos - < v e r sio n >.t a r.g z is t h e t a r.g z
of t h e s o u rce co de * /
This will crea te a d e bia n di rect o ry insi de t h e s o u rce
co d e a m o ng s t o t he r t hi ngs.
• I will give a d e bia n di r w hich ca n re place w ha t is
crea te d by t h e a bove co m m a n d. It h a s a co n t r ol file
a n d r ules file which are catere d for Argos. So, t hi s
direct o ry crea te d by d h_ m ake co ul d si m ply be
overwrit te n by t he o ne t h a t I wo ul d p r ovi de.
• exec u te: deb uild - S
• exec u te: sudo pb uilder b uild .. /*.dsc (this file is created
b y t he a bove step)
4. For a mi n o r ch a nge in t h e s o u rce co de, (ass u mi ng t h a t t he a bove
p r oce d u r e is alrea dy d o n e s o t h a t d e bia n dir is int r o d uce d in t h e
s o u rce co d e dir) o n e ju s t h a s t o exec u te t he following 2 co m m a n d s:
• deb uild - S
• su do p b uilder b uild .. /*.dsc
5. An d t h e n s u b mit t h e p ackage t o t h e u s e r.

Você também pode gostar