nixpkgs-suyu/pkgs/MPlayer/MPlayer-build.sh
Eelco Dolstra 4cd39573f2 * MPlayer packages.
svn path=/nixpkgs/trunk/; revision=176
2003-07-17 22:33:21 +00:00

17 lines
503 B
Bash

#! /bin/sh
export PATH=/bin:/usr/bin
envpkgs="$freetype"
. $setenv
tar xvfj $src || exit 1
tar xvfj $fonts || exit 1
cd MPlayer-* || exit 1
./configure --prefix=$out --with-win32libdir=$win32codecs \
--with-reallibdir=$win32codecs \
--disable-sdl --disable-esd --disable-xanim --disable-cdparanoia --disable-directfb \
|| exit 1
make || exit 1
make install || exit 1
cp -p ../font-arial-iso-8859-1/font-arial-18-iso-8859-1/* $out/share/mplayer/font || exit 1
echo $envpkgs > $out/envpkgs || exit 1