wok-current view fakeroot/receipt @ rev 24962
updated ndiswrapper packages (1.62 -> 1.63)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 24 07:20:09 2022 +0100 (2022-04-24) |
parents | b78e79c31b1f |
children | 00e3b45c063b |
line source
1 # SliTaz package receipt.
3 PACKAGE="fakeroot"
4 VERSION="1.27"
5 CATEGORY="development"
6 SHORT_DESC="Gives a fake root environment, useful for building packages as a non-privileged user."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.debian.org/FakeRoot/"
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
12 WGET_URL="https://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }