wok-current view libraryopt/receipt @ rev 25590

Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 24 14:03:59 2023 +0000 (16 months ago)
parents 65d7d867e0c1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libraryopt"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Rebuilds shared libraries to contain only the object files needed of executables"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://libraryopt.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python binutils"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/libraryopt/files/libraryopt/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/libraryopt-||;s|.tar.*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $install/usr
27 cp -a $src/src/lib* $fs/usr/bin
28 cp -a $src/doc $install/usr
29 }