wok-next diff libnet/receipt @ rev 20645
Up libjpeg-turbo (1.5.3), libpng16 (1.6.34), libraw (0.18.7), shared-mime-info (1.9), tree (1.7.0), xapian (1.4.5); add time.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 01 23:19:32 2018 +0300 (2018-05-01) |
parents | 8d6f480bf664 |
children | d2950281f122 |
line diff
1.1 --- a/libnet/receipt Sun Nov 10 17:13:06 2013 +0000 1.2 +++ b/libnet/receipt Tue May 01 23:19:32 2018 +0300 1.3 @@ -1,30 +1,38 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libnet" 1.8 -VERSION="1.1.6" 1.9 +VERSION="1.2-rc3" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="A library which provides API for commonly used low-level net functions." 1.12 +SHORT_DESC="API for commonly used low-level net functions" 1.13 MAINTAINER="slaxemulator@gmail.com" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="https://sourceforge.net/projects/libnet-dev/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://sourceforge.net/projects/libnet-dev/" 1.19 -WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" 1.20 +WGET_URL="https://github.com/sam-github/libnet/archive/$TARBALL" 1.21 + 1.22 +BUILD_DEPENDS="automake libtool" 1.23 +SPLIT="libnet-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - ./configure \ 1.29 - --prefix=/usr \ 1.30 - --infodir=/usr/share/info \ 1.31 - --mandir=/usr/share/man \ 1.32 - $CONFIGURE_ARGS && 1.33 - make && make DESTDIR=$DESTDIR install 1.34 + # documentation is absent -> build is broken 1.35 + sed -i 's|doc||' $src/libnet/Makefile.am 1.36 + 1.37 + # github sources need to be preprocessed 1.38 + cd libnet 1.39 + mkdir m4 1.40 + autoreconf -i && 1.41 + 1.42 + ./configure $CONFIGURE_ARGS && make && make install 1.43 } 1.44 1.45 # Rules to gen a SliTaz package suitable for Tazpkg. 1.46 genpkg_rules() 1.47 { 1.48 - mkdir -p $fs/usr/lib 1.49 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.50 + case $PACKAGE in 1.51 + libnet) copy @std;; 1.52 + *-dev) copy @dev;; 1.53 + esac 1.54 } 1.55 -