rev |
line source |
paul@4578
|
1 # SliTaz package receipt.
|
paul@4578
|
2
|
paul@4578
|
3 PACKAGE="libsigsegv"
|
paul@4578
|
4 VERSION="2.6"
|
paul@4578
|
5 CATEGORY="development"
|
paul@4578
|
6 SHORT_DESC="Library for handling page faults in user mode."
|
paul@4578
|
7 MAINTAINER="paul@slitaz.org"
|
paul@4578
|
8 DEPENDS=""
|
paul@4578
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
paul@4578
|
10 WEB_SITE="http://www.gnu.org/software/libsigsegv/"
|
paul@4578
|
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
|
paul@4578
|
12
|
paul@4578
|
13 # Rules to configure and make the package.
|
paul@4578
|
14 compile_rules()
|
paul@4578
|
15 {
|
paul@4578
|
16 cd $src
|
paul@4578
|
17 ./configure \
|
paul@4578
|
18 --prefix=/usr \
|
paul@4578
|
19 --infodir=/usr/share/info \
|
paul@4578
|
20 --mandir=/usr/share/man \
|
paul@4578
|
21 $CONFIGURE_ARGS &&
|
paul@4578
|
22 make && make DESTDIR=$PWD/_pkg install
|
paul@4578
|
23 }
|
paul@4578
|
24
|
paul@4578
|
25 # Rules to gen a SliTaz package suitable for Tazpkg.
|
paul@4578
|
26 genpkg_rules()
|
paul@4578
|
27 {
|
paul@4578
|
28 mkdir -p $fs/usr/lib
|
paul@4578
|
29 cp -a $_pkg/usr/lib $fs/usr
|
paul@4578
|
30 cp -a $_pkg/usr/include $fs/usr
|
paul@4578
|
31 }
|
paul@4578
|
32
|