libcpuid SlackBuild updated and new SlackBuild for libmseed

A few news for this week. I’ve upgraded the libcpuid SlackBuild for version 0.2.2. You can find it on SlackBuilds.org. The procedure to build the package is the same as described into the second-last post of this blog.

In addition I’ve created the SlackBuild script for libmseed.

The Mini-SEED library provides a framework for manipulation of SEED data records including the unpacking and packing of data records. Functionality is also included for managing waveform data as continuous traces.

The library is known to work in most Unix/Linux environments (including Mac OSX) and in Win32 systems.

As usual, into the “Slackware Stuff” section you can find a modified version of the SlackBuilds and the prebuilt packages for x86 and x86_64 architectures.

Now, let’s see how to build libmseed: first of all you’ve to download the SlackBuild and the sources.

After having downloaded and placed the two archives in the same directory, open a terminal and place yourself into that directory using the cd command.

Unpack the SlackBuild’s archive and place the sources into the libmseed folder :

tar -zxvf libmseed.tar.gz
mv libmseed-2.17.tar.gz libmseed
cd libmseed

Give the execution permissions to the script:

chmod +x libmseed.SlackBuild

Become super user (you must insert the root password) and then launch the script:

su
./libmseed.SlackBuild

At the end of the building procedure you will find your package into the /tmp directory.
Install the package giving the following command:

installpkg /tmp/libmseed-*.t?z

As seen for libcpuid, this command covers all the possible cases, also depending on which SlackBuild script you use. In particular it takes in account of:

  • target architecture
  • package tag (if any)
  • package version
  • package format (can be .tgz or .txz)

That’s all!

Did you like this post? Share it! Email this to someoneShare on Google+Tweet about this on TwitterShare on FacebookShare on LinkedIn

Leave a Reply