wok-6.x view patch/receipt @ rev 6565
Added mesa, libdrm-dev, xorg-dev-proto, and libxcb-dev to depends of mesa-dev. Fixes pkgconfig --cflags glw from not working in clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 08 00:43:28 2010 +0000 (2010-10-08) |
parents | 44edb3ecc60c |
children | 86e8692df3d3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="patch"
4 VERSION="2.6.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Utilitie to patch file with diff file."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/patch/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make prefix=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/bin/patch $fs/usr/bin
28 strip -s $fs/usr/bin/*
29 }
31 # Prevent erasing busybox...
32 pre_install()
33 {
34 local root
35 root=$1
36 rm -f $root/usr/bin/patch
37 }
39 post_remove()
40 {
41 ln -s /bin/busybox /usr/bin/patch
42 }