wok-next annotate x264/receipt @ rev 17834

Add: get-sublime-text-3.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 23 04:43:23 2015 +0200 (2015-03-23)
parents 380ffe05937a
children eed68127093d
rev   line source
jozee@6831 1 # SliTaz package receipt.
jozee@6831 2
jozee@6831 3 PACKAGE="x264"
domcox@12844 4 VERSION="20120522-2245"
jozee@6831 5 CATEGORY="multimedia"
jozee@6831 6 MAINTAINER="jozee@slitaz.org"
pascal@15000 7 LICENSE="GPL2"
jozee@6831 8 SHORT_DESC="free library for encoding H264/AVC video streams"
jozee@6831 9 WEB_SITE="http://www.videolan.org/developers/x264.html"
jozee@6831 10 SOURCE="$PACKAGE-snapshot"
jozee@6831 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
jozee@6831 12 WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
pankso@16276 13 #HOST_ARCH="i486 arm"
jozee@6831 14
pascal@15000 15 DEPENDS="glibc-base"
pascal@15000 16 BUILD_DEPENDS="yasm"
pascal@15000 17
jozee@6831 18 # Rules to configure and make the package.
jozee@6831 19 compile_rules() {
pankso@16276 20 ./configure \
pankso@16276 21 --enable-shared $CONFIGURE_ARGS &&
pankso@16276 22 make && make \
pankso@16276 23 DESTDIR=$DESTDIR \
pankso@16276 24 bindir=/usr/bin \
pankso@16276 25 libdir=/usr/lib \
pankso@16276 26 includedir=/usr/include install
jozee@6831 27 }
domcox@12844 28
jozee@6831 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6831 30 genpkg_rules()
jozee@6831 31 {
jozee@6831 32 mkdir -p $fs/usr/lib
pascal@15000 33 cp -a $install/usr/bin $fs/usr
pascal@15000 34 cp -a $install/usr/lib/*so* $fs/usr/lib/
jozee@6831 35 }