wok-next annotate libgusb/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | f463de72afe3 |
children | 0e7893ac206d |
rev | line source |
---|---|
al@20406 | 1 # SliTaz package receipt v2. |
al@19691 | 2 |
al@19691 | 3 PACKAGE="libgusb" |
al@20406 | 4 VERSION="0.2.11" |
al@19691 | 5 CATEGORY="libdevel" |
al@19691 | 6 SHORT_DESC="GUsb is a GObject wrapper for libusb1" |
al@19691 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19691 | 8 LICENSE="LGPL2.1" |
al@19691 | 9 WEB_SITE="https://github.com/hughsie/libgusb" |
al@20406 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgusb.html" |
al@19691 | 11 |
al@19691 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20406 | 13 WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL" |
al@19691 | 14 |
al@19691 | 15 BUILD_DEPENDS="gobject-introspection-dev libxslt gtk-doc glib-dev libusb-dev" |
al@20406 | 16 SPLIT="libgusb-dev" |
al@19691 | 17 |
al@20406 | 18 compile_rules() { |
al@20406 | 19 fix ld |
al@19691 | 20 ./configure \ |
al@19691 | 21 --disable-static \ |
al@19691 | 22 $CONFIGURE_ARGS && |
al@20406 | 23 fix libtool && |
al@19691 | 24 make && make install |
al@19691 | 25 } |
al@19691 | 26 |
al@20406 | 27 genpkg_rules() { |
al@20406 | 28 case $PACKAGE in |
al@20406 | 29 libgusb) |
al@20406 | 30 copy @std |
al@20406 | 31 DEPENDS="glib libusb" |
al@20406 | 32 ;; |
al@20406 | 33 *-dev) |
al@20406 | 34 copy @dev |
al@20406 | 35 DEPENDS="libgusb eudev-dev glib-dev libffi-dev libusb-dev pcre-dev \ |
al@20406 | 36 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev zlib" |
al@20406 | 37 ;; |
al@20406 | 38 esac |
al@19691 | 39 } |