wok-next annotate libatomic_ops/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents df20b2110f7e
children
rev   line source
al@20406 1 # SliTaz package receipt v2.
al@20406 2
al@20406 3 PACKAGE="libatomic_ops"
al@21012 4 VERSION="7.6.6"
al@20406 5 CATEGORY="system-tools"
al@20406 6 SHORT_DESC="Atomic memory update operations portable implementation"
al@20406 7 MAINTAINER="al.bobylev@gmail.com"
al@20406 8 LICENSE="GPL2"
al@20406 9 WEB_SITE="https://github.com/ivmai/libatomic_ops"
al@21012 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libatomic_ops.html"
al@20883 11 REPOLOGY="libatomic-ops"
al@20406 12
al@20406 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20406 14 WGET_URL="https://github.com/ivmai/libatomic_ops/releases/download/v$VERSION/$TARBALL"
al@20406 15
al@21012 16 SPLIT="$PACKAGE-dev"
al@20406 17
al@20406 18 compile_rules() {
al@20406 19 ./configure \
al@20406 20 --enable-shared \
al@20406 21 --disable-static \
al@20406 22 $CONFIGURE_ARGS &&
al@20575 23 fix libtool &&
al@20406 24 make &&
al@20406 25 make install
al@20406 26 }
al@20406 27
al@20406 28 genpkg_rules() {
al@20406 29 case $PACKAGE in
al@20406 30 libatomic_ops) copy @std;;
al@20406 31 *-dev) copy @dev;;
al@20406 32 esac
al@20406 33 }