wok annotate iw/receipt @ rev 24306
modified recipe for ctypes.sh
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 17 16:11:08 2022 +0100 (2022-01-17) |
parents | f1b179825d23 |
children | 71360a13cd94 |
rev | line source |
---|---|
pascal@1110 | 1 # SliTaz package receipt. |
pascal@1110 | 2 |
pascal@1110 | 3 PACKAGE="iw" |
Hans-G?nter@22965 | 4 VERSION="5.4" |
pascal@1110 | 5 CATEGORY="network" |
Hans-G?nter@21068 | 6 TAGS="wireless" |
pascal@1110 | 7 SHORT_DESC="Wireless configuration tool." |
pascal@1110 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 9 LICENSE="MIT" |
Hans-G?nter@21068 | 10 WEB_SITE="https://wireless.wiki.kernel.org/en/users/documentation/iw" |
Hans-G?nter@21068 | 11 |
pankso@16396 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@16396 | 13 WGET_URL="https://www.kernel.org/pub/software/network/iw/$TARBALL" |
erjo@9996 | 14 |
pascal@1110 | 15 DEPENDS="libnl" |
Hans-G?nter@21068 | 16 BUILD_DEPENDS="libnl-dev pkg-config" |
Hans-G?nter@22965 | 17 |
Hans-G?nter@21068 | 18 HOST_ARCH="i486 arm" |
pascal@1110 | 19 |
pascal@1110 | 20 # Rules to configure and make the package. |
pascal@1110 | 21 compile_rules() |
pascal@1110 | 22 { |
Hans-G?nter@22965 | 23 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@22965 | 24 |
Hans-G?nter@22965 | 25 make && |
Hans-G?nter@21068 | 26 make DESTDIR=$DESTDIR install |
pascal@1110 | 27 } |
pascal@1110 | 28 |
pascal@1110 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1110 | 30 genpkg_rules() |
slaxemulator@6315 | 31 { |
slaxemulator@6315 | 32 mkdir -p $fs/usr |
Hans-G?nter@22965 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@1110 | 34 } |