~ubuntu-branches/ubuntu/natty/zziplib/natty

« back to all changes in this revision

Viewing changes to zziplib/zzip-config.in

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2008-04-06 08:13:02 UTC
  • mfrom: (4.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080406081302-0fqk6eyn5c4ea3im
Tags: 0.13.49-4
* NMU acknowledgement. Closes: #443880 
* Fixed the following lintian issues:
  - zziplib source: out-of-date-standards-version 3.7.2 (current is 3.7.3)
  - zziplib: description-contains-homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
 
3
 
prefix="@prefix@"
4
 
exec_prefix="@exec_prefix@"
5
 
package="@PACKAGE@"
6
 
version="@VERSION@"
7
 
includedir="@includedir@"
8
 
libdir="@libdir@"
9
 
largefile="@LARGEFILE_CFLAGS@"
10
 
 
11
 
if test $# -eq 0; then
12
 
    cat <<EOF
13
 
Usage:   $package-config [OPTIONS]
14
 
Options:
15
 
    --prefix[=DIR]) : \$prefix
16
 
    --package) : \$package
17
 
    --version) : \$version
18
 
    --cflags) : -I\$includedir
19
 
    --libs) : -L\$libdir -lzzip -lz
20
 
EOF
21
 
fi
22
 
 
23
 
O=""
24
 
for i in "$@" ; do
25
 
    case $i in
26
 
    --prefix=*) $prefix=`echo $prefix | sed -e 's/--prefix=//'` ;;
27
 
    --prefix) O="$O $prefix" ;;
28
 
    --package) O="$O $package" ;;
29
 
    --version) O="$O $version" ;;
30
 
    --cflags)  O="$O $largefile"
31
 
            if test "_$includedir" != "_/usr/include" 
32
 
                then O="$O -I$prefix/include" ; fi
33
 
        ;;
34
 
    --libs) O="$O -L$libdir -lzzip -lz"
35
 
        ;;
36
 
    *) O="$O $i" ;;
37
 
    esac
38
 
done
39
 
echo $O