wok annotate xvidcore/receipt @ rev 5924
busybox: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 28 14:15:27 2010 +0200 (2010-07-28) |
parents | |
children | c87bd29ce293 |
rev | line source |
---|---|
devl547@5630 | 1 # SliTaz package receipt. |
devl547@5630 | 2 |
devl547@5630 | 3 PACKAGE="xvidcore" |
devl547@5630 | 4 VERSION="1.2.2" |
devl547@5630 | 5 CATEGORY="multimedia" |
devl547@5630 | 6 SHORT_DESC="XviD, a high performance/quality MPEG-4 video de-/encoding solution" |
devl547@5630 | 7 MAINTAINER="devl547@gmail.com" |
devl547@5630 | 8 BUILD_DEPENDS="yasm" |
devl547@5630 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5630 | 10 WEB_SITE="http://www.xvid.org" |
devl547@5630 | 11 WGET_URL="http://downloads.xvid.org/downloads/$TARBALL" |
devl547@5630 | 12 |
devl547@5630 | 13 # Rules to configure and make the package. |
devl547@5630 | 14 compile_rules() |
devl547@5630 | 15 { |
devl547@5630 | 16 cd $PACKAGE/build/generic |
devl547@5630 | 17 ./configure \ |
devl547@5630 | 18 --prefix=/usr \ |
devl547@5630 | 19 --mandir=/usr/share/man \ |
devl547@5630 | 20 $CONFIGURE_ARGS && |
devl547@5630 | 21 make && |
devl547@5630 | 22 make DESTDIR=$PWD/_pkg install |
devl547@5630 | 23 } |
devl547@5630 | 24 |
devl547@5630 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5630 | 26 genpkg_rules() |
devl547@5630 | 27 { |
devl547@5630 | 28 mkdir -p $fs/usr/lib |
devl547@5630 | 29 cp -a $PACKAGE/build/generic/_pkg/usr/lib/*.so* $fs/usr/lib |
devl547@5630 | 30 } |