Difference between revisions of "Custom package example"

From LFScript
Line 1: Line 1:
'''This page is a rough draft, do not rely on it'''
+
This page is a template, which you can use to add your own packages to LFScript. Be sure to also read the details on the [[ScriptFactory Wiki Tags|special commands]] you can use here.
  
 
<scriptname>my-software</scriptname>
 
<scriptname>my-software</scriptname>

Revision as of 16:12, 1 February 2012

This page is a template, which you can use to add your own packages to LFScript. Be sure to also read the details on the special commands you can use here.

LFScript can find this software under the name my-software.

Sources


MD5 Checksums:

9244091002a9d52e91fca0b1f3818ab9  sourcecode-1.0.tar.xz
d41d8cd98f00b204e9800998ecf8427e  sourcecode-1.0_fix.patch

Dependencies

Pre-installation

useradd -m sampleUser

Installation

<compile>patch -Np1 < ../sourcecode-1.0_fix.patch</compile>

<compile>./configure --prefix=/usr && make</compile>

<install>make install</install>

Packaging note

The source code of this package does not support the standard use of DESTDIR. In stead it uses

prefix=

Post-installation

Note: Post-installation of this software should be performed after all other software has been installed.

update-desktop-database