Difference between revisions of "Nhopkg"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://downloads.sourceforge.net/nhopkg/nhopkg-{{Nhopkg-Version}}.tar.bz2 |- !Download Patch: | URL - This ...)
 
 
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.sourceforge.net/nhopkg/nhopkg-{{Nhopkg-Version}}.tar.bz2
+
| http://sourceforge.net/projects/nhopkg/files/nhopkg/nhopkg-0.5/nhopkg-{{Nhopkg-Version}}.tar.bz2/download/
|-
 
!Download Patch:
 
| URL - This should be a URL beginning with http://svn.cross-lfs.org/svn/repos/patches/.  See http://patches.cross-lfs.org/patch-submitter for instructions on submitting patches for CBLFS.
 
 
|}
 
|}
  
 
----
 
----
  
{{Package-Introduction|Brief description of the package you are enlightening us with. Try to provide a description in your own words. Add a link to the package's homepage for someone unfamiliar with the package to research further.|http://homepage/to/cool/package}}
+
{{Package-Introduction|Nhopkg is a lightweight and powerfull package manager system for unix like operating systems. Nhopkg can install, remove, update, search and manage software packages (.nho). Nhopkg aims to be a universal package manager. For this, Nhopkg isn't only a package manager, furthermore it is a set of guidelines to pack up software for any machine. In this way, to check package dependencies, Nhopkg searchs its files instead its name. | http://www.nhopkg.org/}}
 
 
----
 
 
 
'''<font style="color: green">If there is some reason you are adding a package and are unable to provide a brief description of it's functionality, please do two things. First, reconsider installing software that you have no idea what it does. Second, please use this template.  It allows us to identify packages that need introductions without "hunting" through the wiki.</font>'''
 
 
 
{{Blank-Package-Introduction}}
 
  
 
== Dependencies ==
 
== Dependencies ==
 
'''<font style="color: green">Use this template to add notes where ever a note is appropriate.</font>'''
 
 
{{Note|ADD SOMETHING NOTEWORTHY}}
 
  
 
=== Required ===
 
=== Required ===
* [[Required Dependency #1]]
+
* A (C)LFS System
* [[Required Dependency #2]]
+
* [[Wget]]
 
 
=== Recommended ===
 
* [[Recommended Dependency #1]]
 
* [[Recommended Dependency #2]]
 
 
 
=== Optional ===
 
* [[Optional Dependency #1]]
 
* [[Optional Dependency #2]]
 
 
 
== Creating the <NAME> User & Group ==
 
 
 
'''<font style="color: green">This is an optional section. If your package requires a user/group add this section to the page then append the table on the [[System User and Groups]] page. Below is an example.</font>'''
 
 
 
groupadd -g ''[id]'' ''[name]'' &&
 
useradd -c "''[desc]''" -d /dev/null \
 
        -u ''[id]'' -g ''[name]'' -s /bin/false ''[name]''
 
 
 
== Configuration Information ==
 
 
 
'''<font style="color: green">This section can contain options that you may want to include when configuring the package, but should be left as a choice, eg:</font>'''
 
 
 
{|
 
|-
 
|''--enable-someoption:'' brief description of the non-default functionality provided by someoption.
 
|-
 
|''--disable-someotheroption:'' brief description of the default functionality removed by disabling someotheroption.
 
|-
 
|''--with-somepackage=DIR:''
 
|}
 
 
 
'''<font style="color: green">Generally speaking, CBLFS packages are installed in the /usr hierarchy although there are some exceptions.  Even if you passed --prefix=/home/fubar/stuff/CBLFS/is/really/awesome/some/package/version/5.0/hope/this/works to the configure script, please use --prefix=/usr for the wiki.  Thanks.  Also, the instructions presume that the source package has been retrieved to the local machine, unpacked, and you have cd'd to the top of the source tree.  Generally, we don't need those instructions unless there is something very unique about the process for the package you are adding.</font>'''
 
 
 
== Non-Multilib ==
 
 
 
Compile the package:
 
 
 
./configure --prefix=/usr &&
 
make
 
 
 
Install the package:
 
 
 
make install
 
 
 
== Multilib ==
 
 
 
'''<font style="color: green">If appropriate, add this line:</font>'''
 
 
 
'''''This package does not provide any libraries so only one installation is required.'''''
 
  
'''<font style="color: green">If package documentation is not installed by the 'make install' step, only include the commands to install the documentation in the 64-bit section.</font>'''
+
== Recommended ==
 +
* [[Mlocate]]
  
=== 32Bit ===
+
== Non-Multilib or Multilib ==
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --sysconfdir=/etc \
make
+
  --localstatedir=/var/lib
 
 
Install the package:
 
 
 
make install
 
 
 
=== N32 ===
 
 
 
Compile the package:
 
 
 
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
    --libdir=/usr/lib32 &&
 
make
 
 
 
Install the package:
 
 
 
make install
 
 
 
=== 64Bit ===
 
 
 
Compile the package:
 
 
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 
    --libdir=/usr/lib64 &&
 
 
  make
 
  make
  
Line 115: Line 32:
 
== Configuring ==
 
== Configuring ==
  
'''<font style="color: green">This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories. Omit this section if there is no post-installation configuration required.</font>'''
+
No configuration is needed.
 +
Configuration file is /etc/nhopkg/nhopkg.conf
  
 
== Contents ==
 
== Contents ==
 
'''<font style="color: green">You can find a script [[User:Weibullguy|here]] that can be used to make creating this table reasonably pain free.</font>'''
 
  
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
 
!Installed Directories:
 
!Installed Directories:
|/path/to/dir
+
|/etc/nhopkg, /usr/share/nhopkg, /var/lib/nhopkg
 
|-valign="top"
 
|-valign="top"
 
!Installed Programs:
 
!Installed Programs:
|Program 1, Program 2
+
|nhopkg
 
|-valign="top"
 
|-valign="top"
 
!Installed Libraries:
 
!Installed Libraries:
|library1.{a,so}, library2.{a,so}
+
|None
 
|}
 
|}
  
Line 137: Line 53:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
!Program 1
+
!Nhopkg
|is a program that converts pennies to dollars.
+
|is a (Bash) shell script that assists in compiling, installing, administering, and removing software in your system.
|-valign="top"
 
!Program 2
 
|is a program that converts dollars to pennies.
 
|-valign="top"
 
!library1.{so,a}
 
|is a library that contains functions necessary to convert from dollars to pennies and vice versa.
 
 
|}
 
|}
 +
 +
[[Category:Package Management]]

Latest revision as of 07:48, 14 December 2009

Download Source: http://sourceforge.net/projects/nhopkg/files/nhopkg/nhopkg-0.5/nhopkg-0.5.1.tar.bz2/download/

Introduction to Nhopkg

Nhopkg is a lightweight and powerfull package manager system for unix like operating systems. Nhopkg can install, remove, update, search and manage software packages (.nho). Nhopkg aims to be a universal package manager. For this, Nhopkg isn't only a package manager, furthermore it is a set of guidelines to pack up software for any machine. In this way, to check package dependencies, Nhopkg searchs its files instead its name.

Project Homepage: http://www.nhopkg.org/

Dependencies

Required

  • A (C)LFS System
  • Wget

Recommended

Non-Multilib or Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var/lib
make

Install the package:

make install

Configuring

No configuration is needed. Configuration file is /etc/nhopkg/nhopkg.conf

Contents

Installed Directories: /etc/nhopkg, /usr/share/nhopkg, /var/lib/nhopkg
Installed Programs: nhopkg
Installed Libraries: None

Short Descriptions

Nhopkg is a (Bash) shell script that assists in compiling, installing, administering, and removing software in your system.
Retrieved from "?title=Nhopkg&oldid=19718"