wok-current view atm-tools/receipt @ rev 25694

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (7 months ago)
parents 5f6c5106b1f5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://linux-atm.sourceforge.net/"
10 SOURCE="linux-atm"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/atmsigd.conf"
15 BUILD_DEPENDS="flex"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/linux-atm/files/linux-atm/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*linux-atm-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 busybox patch -p0 < $stuff/MAX_PATH.u
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make -j1 &&
33 make -j1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }