wok-next diff libbsd/receipt @ rev 20206

Up PyQt-x11-gpl (4.12.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 09:19:58 2017 +0100 (2017-11-04)
parents 093afdf01585
children c4e53a39395a
line diff
     1.1 --- a/libbsd/receipt	Thu Apr 17 14:30:15 2014 +0200
     1.2 +++ b/libbsd/receipt	Sat Nov 04 09:19:58 2017 +0100
     1.3 @@ -1,15 +1,18 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libbsd"
     1.8 -VERSION="0.6.0"
     1.9 +VERSION="0.8.6"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="Provides useful functions commonly found on BSD systems."
    1.12 +SHORT_DESC="Provides useful functions commonly found on BSD systems"
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14  LICENSE="BSD MIT"
    1.15 -WEB_SITE="http://libbsd.freedesktop.org/wiki/"
    1.16 +WEB_SITE="https://libbsd.freedesktop.org/wiki/"
    1.17 +HOST_ARCH="i486 arm"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.20 -WGET_URL="http://libbsd.freedesktop.org/releases/$TARBALL"
    1.21 -HOST_ARCH="i486 arm"
    1.22 +WGET_URL="https://libbsd.freedesktop.org/releases/$TARBALL"
    1.23 +
    1.24 +SPLIT="libbsd-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -20,6 +23,8 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr/lib
    1.33 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.34 +	case $PACKAGE in
    1.35 +		libbsd) copy @std;;
    1.36 +		*-dev)  copy @dev;;
    1.37 +	esac
    1.38  }