wok-next annotate libatomic_ops/receipt @ rev 20683

Up pciids (20180517), usbids (20180504)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 15:15:42 2018 +0300 (2018-05-18)
parents 0ec6086e21d6
children df20b2110f7e
rev   line source
al@20406 1 # SliTaz package receipt v2.
al@20406 2
al@20406 3 PACKAGE="libatomic_ops"
al@20679 4 VERSION="7.6.2"
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@20406 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libatomic_ops.html"
al@20406 11
al@20406 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20406 13 WGET_URL="https://github.com/ivmai/libatomic_ops/releases/download/v$VERSION/$TARBALL"
al@20406 14
al@20406 15 SPLIT="libatomic_ops-dev"
al@20406 16
al@20406 17 compile_rules() {
al@20406 18 ./configure \
al@20406 19 --enable-shared \
al@20406 20 --disable-static \
al@20406 21 $CONFIGURE_ARGS &&
al@20575 22 fix libtool &&
al@20406 23 make &&
al@20406 24 make install
al@20406 25 }
al@20406 26
al@20406 27 genpkg_rules() {
al@20406 28 case $PACKAGE in
al@20406 29 libatomic_ops) copy @std;;
al@20406 30 *-dev) copy @dev;;
al@20406 31 esac
al@20406 32 }