wok annotate rarian/receipt @ rev 24086

libtorrent needs atomic memory access
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 17:20:34 2021 +0000 (2021-07-10)
parents 10e6c72b2c15
children 6831608a1b2a
rev   line source
slaxemulator@6739 1 # SliTaz package receipt.
slaxemulator@6739 2
slaxemulator@6739 3 PACKAGE="rarian"
slaxemulator@6739 4 VERSION="0.8.1"
slaxemulator@6739 5 CATEGORY="misc"
slaxemulator@6739 6 SHORT_DESC="Documentation meta-data library, designed as a replacement for Scrollkeeper."
slaxemulator@6739 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15021 8 LICENSE="GPL2 LGPL2.1"
slaxemulator@6739 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20679 10 WEB_SITE="https://rarian.freedesktop.org/"
slaxemulator@6739 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@6739 12
pankso@13654 13 DEPENDS="libxslt"
pankso@13654 14 BUILD_DEPENDS="libxslt-dev"
pankso@13654 15
slaxemulator@6739 16 # Rules to configure and make the package.
slaxemulator@6739 17 compile_rules()
slaxemulator@6739 18 {
slaxemulator@6739 19 cd $src
pascal@8974 20 patch -p0 -i $stuff/user-segfault.patch
slaxemulator@6739 21 ./configure \
slaxemulator@6739 22 --prefix=/usr \
slaxemulator@6739 23 --infodir=/usr/share/info \
slaxemulator@6739 24 --mandir=/usr/share/man \
slaxemulator@6739 25 --sysconfdir=/etc \
slaxemulator@6739 26 --localstatedir=/var \
slaxemulator@6739 27 --disable-static \
slaxemulator@6739 28 $CONFIGURE_ARGS &&
pascal@15021 29 make && make DESTDIR=$DESTDIR install
slaxemulator@6739 30 }
slaxemulator@6739 31
slaxemulator@6739 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6739 33 genpkg_rules()
slaxemulator@6739 34 {
slaxemulator@6739 35 mkdir -p $fs/usr/lib $fs/usr/share/librarian
pankso@13654 36 cp -a $install/usr/bin $fs/usr
pankso@13654 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13654 38 cp -a $install/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian
pankso@13654 39 cp -a $install/usr/share/librarian/Templates $fs/usr/share/librarian
pankso@13654 40 cp -a $install/var $fs/
slaxemulator@6739 41 }
slaxemulator@6739 42