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