mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libfprint: Added to 12.1 repository
This commit is contained in:
parent
462de9b508
commit
9ad76ec70e
4 changed files with 95 additions and 0 deletions
13
libraries/libfprint/README
Normal file
13
libraries/libfprint/README
Normal file
|
@ -0,0 +1,13 @@
|
|||
libfprint is the center of our efforts. libfprint is the component
|
||||
which does the dirty work of talking to fingerprint reading devices,
|
||||
and processing fingerprint data.
|
||||
|
||||
If you're a user, you probably aren't interested in libfprint,
|
||||
instead you want to find some software which uses libfprint
|
||||
(see the integration project).
|
||||
|
||||
If you're an application developer looking to add support for some
|
||||
kind of fingerprinting to your software, libfprint is exactly what
|
||||
you are looking for. It provides a simple API for you to enroll
|
||||
fingerprints and then identify users later on.
|
||||
|
55
libraries/libfprint/libfprint.SlackBuild
Normal file
55
libraries/libfprint/libfprint.SlackBuild
Normal file
|
@ -0,0 +1,55 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for libfprint
|
||||
|
||||
# Written by Terry Laundos <terry.laundos@s1solucoes.com.br>
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=libfprint
|
||||
VERSION=0.0.6
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS ChangeLog COPYING HACKING INSTALL NEWS README THANKS INSTALL TODO doc/ \
|
||||
examples/ $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
libraries/libfprint/libfprint.info
Normal file
8
libraries/libfprint/libfprint.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="libfprint"
|
||||
VERSION="0.0.6"
|
||||
HOMEPAGE="http://reactivated.net/fprint/wiki/Libfprint"
|
||||
DOWNLOAD="http://dl.sourceforge.net/sourceforge/fprint/libfprint-0.0.6.tar.bz2"
|
||||
MD5SUM="4f47b46021b186488b60aaa97f90fe43"
|
||||
MAINTAINER="Terry Laundos"
|
||||
EMAIL="terry@s1solucoes.com.br"
|
||||
APPROVED="dsomero"
|
19
libraries/libfprint/slack-desc
Normal file
19
libraries/libfprint/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|
||||
libfprint: libfprint (library for support fingerprint reader devices)
|
||||
libfprint:
|
||||
libfprint: libfprint is an open source software library designed to make it easy
|
||||
libfprint: for application developers to add support for consumer fingerprint
|
||||
libfprint: readers to their software.
|
||||
libfprint:
|
||||
libfprint: The library website can be found at:
|
||||
libfprint: http://reactivated.net/fprint/wiki/Libfprint
|
||||
libfprint:
|
||||
libfprint:
|
Loading…
Reference in a new issue