/[packages]/cauldron/mingw32-filesystem/current/SOURCES/mingw32-find-provides.sh
ViewVC logotype

Contents of /cauldron/mingw32-filesystem/current/SOURCES/mingw32-find-provides.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67309 - (show annotations) (download) (as text)
Thu Mar 10 02:24:47 2011 UTC (13 years, 1 month ago) by ahmad
File MIME type: application/x-sh
File size: 440 byte(s)
imported package mingw32-filesystem
1 #!/bin/bash
2
3 # This script reads filenames from STDIN and outputs any relevant provides
4 # information that needs to be included in the package.
5
6 if [ "$1" ]
7 then
8 package_name="$1"
9 fi
10
11 [ -z "$OBJDUMP" ] && OBJDUMP=i686-pc-mingw32-objdump
12
13 filelist=`sed "s/['\"]/\\\&/g"`
14
15 dlls=$(echo $filelist | tr [:blank:] '\n' | grep '\.dll$')
16
17 for f in $dlls; do
18 basename=`basename $f | tr [:upper:] [:lower:]`
19 echo "mingw32($basename)"
20 done

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30