wok view libmnl/receipt @ rev 24789
grep: add post_install (install)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 09:36:52 2022 +0000 (2022-03-21) |
parents | be09ecfec9dc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmnl"
4 VERSION="1.0.4"
5 CATEGORY="network"
6 SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.netfilter.org/projects/$PACKAGE/index.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/lib* $fs/usr/lib/
34 }