1 export package=framework
8 --version ) field=-1 ;;
9 --prefix=* ) prefix="${i#--prefix=}" ;;
12 --list ) field=1; package="" ;;
19 then echo "Usage: mlt-config [ --version ] | [ --prefix=dir ] [ [ package ] [ --cflags ] [ --libs ] ]"
20 elif [ "$field" = "-1" ]
22 elif [ -f "$prefix/share/mlt/packages.dat" ]
23 then grep "^$package" $prefix/share/mlt/packages.dat | cut -f $field
24 else echo mlt-config cannot find package $package.