wok annotate par2/receipt @ rev 20374

Add xorg-xf86-video-modesetting
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 13:38:11 2018 +0200 (2018-06-12)
parents 51a1ebbda768
children 6f2188ee6be5
rev   line source
pascal@9280 1 # SliTaz package receipt.
pascal@9280 2
pascal@9280 3 PACKAGE="par2"
pascal@9280 4 SOURCE="par2cmdline"
pascal@9280 5 VERSION="0.4"
pascal@9562 6 CATEGORY="system-tools"
pascal@9280 7 SHORT_DESC="Utility for posting and recovery of multi-part archives."
pascal@9280 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 9 LICENSE="GPL2"
pascal@9280 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@9280 11 WEB_SITE="http://parchive.sourceforge.net/"
pascal@9280 12 WGET_URL="$SF_MIRROR/parchive/$TARBALL"
pascal@15375 13
pascal@9283 14 DEPENDS="gcc-lib-base"
pascal@9280 15
pascal@9280 16 # Rules to configure and make the package.
pascal@9280 17 compile_rules()
pascal@9280 18 {
pascal@9280 19 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch
slaxemulator@9700 20 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true
pascal@9280 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@9280 22 --mandir=/usr/share/man \
pascal@9280 23 $CONFIGURE_ARGS &&
pascal@9280 24 make &&
pascal@15375 25 make DESTDIR=$DESTDIR install
pascal@9280 26 }
pascal@9280 27
pascal@9280 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9280 29 genpkg_rules()
pascal@9280 30 {
pascal@15375 31 cp -a $install/usr $fs
pascal@19957 32 mkdir -p $install/usr/share/doc
pascal@19957 33 cp $src/README $src/ROADMAP $install/usr/share/doc
pascal@9280 34 }