wok-6.x view libdisasm/receipt @ rev 24842

updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author Hans-G?nter Theisgen
date Fri Mar 25 09:45:42 2022 +0100 (2022-03-25)
parents 6bebe30dad3a
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="libdisasm"
4 VERSION="0.23"
5 CATEGORY="development"
6 SHORT_DESC="x86 Disassembler Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Artistic"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
11 WGET_URL="$SF_MIRROR/bastard/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/bastard/files/libdisasm/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/libdisasm/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }