Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / tools / getlibvers
blobc022083ed06ba3302a84a88d880a70b4100cd067
1 #! /bin/sh
3 list='expat fontconfig freetype libFS libICE libSM libX11 libXScrnSaver libXTrap libXau libXcomposite libXcursor libXdamage libXdmcp libXevie libXext libXfixes libXfont libXft libXi libXinerama libXmu libXp libXpm libXrandr libXrender libXres libXt libXtst libXv libXvMC libXxf86dga libXxf86misc libXxf86vm libdrm libfontenc libxkbfile libxkbui'
5 DISTFILES=${DISTFILES-/usr/pkgsrc/distfiles}
7 for dist in $list; do
8 updist=$(echo $dist | tr a-z A-Z)
9 tarball=$(cd ${DISTFILES}; echo ${dist}-*tar*)
10 tarver=${tarball#${dist}-}
11 ext=bz2
12 case $tarball in
13 *.tar.bz2)
14 ver=${tarver%.tar.bz2}
16 *.tar.gz)
17 ext=gz
18 ver=${tarver%.tar.gz}
21 ver=x
22 echo "dunno what $dist is -- $tarball" 1>&2
24 esac
25 if [ "$ver" != x ]; then
26 echo "${updist}_VERSION = ${ver}"
27 echo "${updist}_EXT = ${ext}"
29 done