wok-next diff libogg/receipt @ rev 20395
e4rat: update patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 02 12:33:04 2017 +0100 (2017-12-02) |
parents | a73d738315e8 |
children | 6d173c4b9591 |
line diff
1.1 --- a/libogg/receipt Sun Feb 23 02:51:39 2014 +0100 1.2 +++ b/libogg/receipt Sat Dec 02 12:33:04 2017 +0100 1.3 @@ -1,22 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libogg" 1.8 -VERSION="1.3.1" 1.9 +VERSION="1.3.2" 1.10 CATEGORY="multimedia" 1.11 -SHORT_DESC="OGG library from Xiph.org project." 1.12 +SHORT_DESC="OGG library from Xiph.org project" 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="BSD" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 WEB_SITE="http://www.xiph.org/" 1.17 -WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL" 1.18 HOST_ARCH="i486 arm" 1.19 1.20 -DEPENDS="glibc-base" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.22 +WGET_URL="http://downloads.xiph.org/releases/ogg/$TARBALL" 1.23 + 1.24 +SPLIT="libogg-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - ./configure $CONFIGURE_ARGS && 1.30 + ./configure \ 1.31 + --docdir=/usr/share/doc/libogg-$VERSION \ 1.32 + $CONFIGURE_ARGS && 1.33 make && 1.34 make -j1 DESTDIR=$DESTDIR install 1.35 } 1.36 @@ -24,7 +27,8 @@ 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr/lib 1.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 + case $PACKAGE in 1.43 + libogg) copy @std;; 1.44 + *-dev) copy @dev;; 1.45 + esac 1.46 } 1.47 -