wok-current annotate libsmpeg-dev/receipt @ rev 6692

Made smpeg compile with LDFLAGS+-lstdc++. This is so btanks compile.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 12 22:56:00 2010 +0000 (2010-10-12)
parents d983e90f942d
children ea3c91682de8
rev   line source
claudinei@3338 1 # SliTaz package receipt.
claudinei@3338 2
claudinei@3338 3 PACKAGE="libsmpeg-dev"
claudinei@3338 4 SOURCE="smpeg"
claudinei@4686 5 VERSION="389"
claudinei@3338 6 CATEGORY="development"
claudinei@3338 7 SHORT_DESC="Mpeg decoding library devel files"
claudinei@3338 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3338 9 WEB_SITE="http://icculus.org/smpeg"
pankso@3425 10 DEPENDS="libsdl"
pankso@3425 11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
claudinei@3338 12 WANTED="libsmpeg"
claudinei@3338 13
claudinei@3338 14 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3338 15 genpkg_rules()
claudinei@3338 16 {
claudinei@3338 17 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
claudinei@3338 18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
claudinei@3338 19 cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
claudinei@3338 20 chmod +x $fs/usr/bin/smpeg-config
claudinei@3338 21 cp -a $_pkg/usr/include/smpeg $fs/usr/include
claudinei@3338 22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
claudinei@3338 23 cp -a $_pkg/usr/share/aclocal $fs/usr/share
slaxemulator@6692 24 #fix aclocal warnings
slaxemulator@6692 25 sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
claudinei@3338 26 }
claudinei@3338 27