wok view nbd/receipt @ rev 24141
linux: add r8188eu.ko
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 14 20:30:13 2021 +0000 (2021-11-14) |
parents | 59417e476a6e |
children | afae00265386 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nbd"
4 VERSION="3.20"
5 CATEGORY="network"
6 SHORT_DESC="Remote block devices over a TCP/IP network."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://nbd.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/nbd/$TARBALL"
14 SUGGESTED="linux-nbd"
15 DEPENDS="glib pcre"
16 BUILD_DEPENDS="glib-dev pcre-dev pkg-config"
18 CONFIG_FILES="/etc/nbd-server"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/etc/nbd-server
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
40 touch $fs/etc/nbd-server/config
41 }