wok-next view patch/receipt @ rev 19645
Remove mesa-dri-ati, mesa-dri-intel, mesa-dri-nouveau, mesa-dri-vmwgfx -> mesa-dri. Split llvm. Up/add xorg apps and some other stuff.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 03:43:01 2017 +0200 (2017-02-22) |
parents | 9e01bc6321ea |
children | 7387df590f12 |
line source
1 # SliTaz package receipt.
3 PACKAGE="patch"
4 VERSION="2.7.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Utilitie to patch file with diff file."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://savannah.gnu.org/projects/patch/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="attr"
16 BUILD_DEPENDS="attr-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $install/usr/bin/patch $fs/usr/bin
29 }
31 # Prevent erasing busybox...
32 pre_install()
33 {
34 rm -f "$1/usr/bin/patch"
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox "$1/usr/bin/patch"
40 }