wok-next annotate libdisasm/receipt @ rev 20042
pigz, pxe-kexec: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 20:53:07 2017 +0200 (2017-10-22) |
parents | 6bebe30dad3a |
children | b278b2018965 |
rev | line source |
---|---|
al@19910 | 1 # SliTaz package receipt v2. |
pascal@16246 | 2 |
pascal@16246 | 3 PACKAGE="libdisasm" |
pascal@16246 | 4 VERSION="0.23" |
pascal@16246 | 5 CATEGORY="development" |
al@19910 | 6 SHORT_DESC="x86 Disassembler Library" |
pascal@16246 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16246 | 8 LICENSE="Artistic" |
al@19910 | 9 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html" |
al@19910 | 10 |
pascal@16246 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16246 | 12 WGET_URL="$SF_MIRROR/bastard/$TARBALL" |
pascal@16246 | 13 |
al@19910 | 14 BUILD_DEPENDS="gfortran" |
al@19910 | 15 SPLIT="libdisasm-dev" |
pascal@16246 | 16 |
pascal@16246 | 17 # Rules to configure and make the package. |
pascal@16246 | 18 compile_rules() |
pascal@16246 | 19 { |
al@19910 | 20 ./configure \ |
al@19910 | 21 "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \ |
pascal@16246 | 22 $CONFIGURE_ARGS && |
pascal@16246 | 23 make && |
pascal@16246 | 24 make DESTDIR=$DESTDIR install |
pascal@16246 | 25 } |
pascal@16246 | 26 |
pascal@16246 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16246 | 28 genpkg_rules() |
pascal@16246 | 29 { |
al@19910 | 30 case $PACKAGE in |
al@19910 | 31 libdisasm) copy @std;; |
al@19910 | 32 *-dev) copy @dev;; |
al@19910 | 33 esac |
pascal@16246 | 34 } |