wok-current annotate libvpx/receipt @ rev 13136
wesnoth: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 08 16:36:30 2012 +0200 (2012-07-08) |
parents | f04c3a68b778 |
children | 6d82665228b2 |
rev | line source |
---|---|
slaxemulator@11326 | 1 # SliTaz package receipt. |
slaxemulator@11326 | 2 |
slaxemulator@11326 | 3 PACKAGE="libvpx" |
domcox@12842 | 4 VERSION="1.1.0" |
slaxemulator@11326 | 5 CATEGORY="multimedia" |
slaxemulator@11326 | 6 SHORT_DESC="The VP8 Codec SDK" |
slaxemulator@11326 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11326 | 8 WEB_SITE="http://www.webmproject.org/" |
slaxemulator@11326 | 9 TARBALL="$PACKAGE-v$VERSION.tar.bz2" |
slaxemulator@11326 | 10 WGET_URL="http://webm.googlecode.com/files/$TARBALL" |
slaxemulator@11326 | 11 |
slaxemulator@11326 | 12 DEPENDS="glibc-base" |
slaxemulator@11326 | 13 BUILD_DEPENDS="yasm coreutils-file-format" |
slaxemulator@11326 | 14 |
slaxemulator@11326 | 15 # Rules to configure and make the package. |
slaxemulator@11326 | 16 compile_rules() |
slaxemulator@11326 | 17 { |
slaxemulator@11326 | 18 ./configure --enable-vp8 \ |
slaxemulator@11326 | 19 --enable-runtime-cpu-detect \ |
domcox@12842 | 20 --enable-postproc \ |
slaxemulator@11326 | 21 --enable-shared \ |
slaxemulator@11326 | 22 --enable-pic \ |
slaxemulator@11326 | 23 --disable-install-docs \ |
slaxemulator@11326 | 24 --disable-install-srcs && |
slaxemulator@11326 | 25 make && make DIST_DIR=$DESTDIR/usr install |
slaxemulator@11326 | 26 } |
slaxemulator@11326 | 27 |
slaxemulator@11326 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11326 | 29 genpkg_rules() |
slaxemulator@11326 | 30 { |
slaxemulator@11326 | 31 mkdir -p $fs/usr/lib |
slaxemulator@11326 | 32 cp -a $install/usr/bin $fs/usr |
domcox@12842 | 33 cp -a $install/usr/lib/*.so.* $fs/usr/lib |
slaxemulator@11326 | 34 } |