diff options
Diffstat (limited to 'network/freerdp/freerdp.SlackBuild')
-rw-r--r-- | network/freerdp/freerdp.SlackBuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/network/freerdp/freerdp.SlackBuild b/network/freerdp/freerdp.SlackBuild index abe6b5d96c..c69221b43b 100644 --- a/network/freerdp/freerdp.SlackBuild +++ b/network/freerdp/freerdp.SlackBuild @@ -26,13 +26,13 @@ # Revision date: 2012/02/17 PRGNAM=freerdp -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-20131115_ea18d2b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # This is a bit messy, but that's how upstream serves it... -TARNAME=FreeRDP-$VERSION.tar.gz -UNTARNAME=$(tar tf $TARNAME 2>/dev/null | head -n 1 | tr -d \/) +#TARNAME=FreeRDP-$VERSION.tar.gz +#UNTARNAME=$(tar tf $TARNAME 2>/dev/null | head -n 1 | tr -d \/) if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -66,9 +66,12 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $UNTARNAME -tar xvf $CWD/$TARNAME -cd $UNTARNAME +#rm -rf $UNTARNAME +#tar xvf $CWD/$TARNAME +#cd $UNTARNAME +rm -fR $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,6 +79,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# http://sourceforge.net/mailarchive/forum.php?thread_name=520BE6FD.5080803%40macports.org&forum_name=freerdp-devel +patch -p0 < $CWD/patch-ffmpeg-2.0.diff + mkdir -p build cd build cmake \ |