CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 2274 -
(show annotations)
Wed Mar 2 00:48:47 2011 UTC (2 years, 2 months ago) by acrux
File size: 726 byte(s)
Wed Mar 2 00:48:47 2011 UTC (2 years, 2 months ago) by acrux
File size: 726 byte(s)
libservicelog: updated to 1.1.10
| 1 | # Description: The servicelog packages provides a library for logging service-related events |
| 2 | # URL: http://linux-diag.sourceforge.net/servicelog/ |
| 3 | # Maintainer: CRUX PPC Team - http://cruxppc.org/ |
| 4 | # Packager: acrux, acrux at linuxmail dot org |
| 5 | # Depends on: sqlite3 |
| 6 | # PPC!=: |
| 7 | |
| 8 | name=libservicelog |
| 9 | version=1.1.10 |
| 10 | release=1 |
| 11 | source=(http://downloads.sourceforge.net/project/linux-diag/$name/$version/$name-$version.tar.gz \ |
| 12 | $name-1.0.1.patch.gz) |
| 13 | |
| 14 | build () { |
| 15 | cd $name-$version |
| 16 | zcat ../$name-1.0.1.patch.gz | patch -p1 |
| 17 | |
| 18 | autoreconf -i -f |
| 19 | export CFLAGS="$CFLAGS -lsqlite3" |
| 20 | |
| 21 | ./configure --with-gnu-ld \ |
| 22 | --prefix=/usr --mandir=/usr/man |
| 23 | |
| 24 | make |
| 25 | |
| 26 | # install script fix |
| 27 | touch servicelog.db |
| 28 | |
| 29 | make DESTDIR=$PKG install |
| 30 | } |