wok view libsmpeg-dev/receipt @ rev 8050
Improve attr&acl receipts by replacing strange slackware seds by the use of DIST_ROOT; acl includes are now going at the right place.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 20 21:38:00 2011 +0100 (2011-01-20) |
parents | 17066ba98354 |
children | 30506fc48f40 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsmpeg-dev"
4 SOURCE="smpeg"
5 VERSION="389"
6 CATEGORY="development"
7 SHORT_DESC="Mpeg decoding library devel files"
8 MAINTAINER="claudinei@slitaz.org"
9 WEB_SITE="http://icculus.org/smpeg"
10 DEPENDS="libsmpeg"
11 BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
12 WANTED="libsmpeg"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include
18 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
19 cp $_pkg/usr/bin/smpeg-config $fs/usr/bin
20 chmod +x $fs/usr/bin/smpeg-config
21 cp -a $_pkg/usr/include/smpeg $fs/usr/include
22 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
23 cp -a $_pkg/usr/share/aclocal $fs/usr/share
24 #fix aclocal warnings
25 sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4
26 }