[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
Le Mon, 25 Aug 2008 10:13:55 +0000,
"Allan Pinto" <allan316@xxxxxxxxx> a écrit :
> hi Eric
> so the new receipt should be like this, right ?
Yes.
And here is the -dev receipt.
Note: WGET_URL and compiled_rules() are removed.
The build is made via the WANTED variable.
# SliTaz package receipt.
PACKAGE="chmlib-dev"
VERSION="0.39"
CATEGORY="development"
SHORT_DESC="library for dealing with CHM format"
MAINTAINER="allan316@xxxxxxxxx"
DEPENDS="chmlib"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.jedrea.com/chmlib"
WANTED="chmlib"
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/lib
cp -a $_pkg/usr/lib/*.*a $fs/usr/lib/
cp -a $_pkg/usr/include $fs/usr
}
>
> # SliTaz package receipt.
>
> PACKAGE="chmlib"
> VERSION="0.39"
> CATEGORY="misc"
> SHORT_DESC="library for dealing with CHM format"
> MAINTAINER="allan316@xxxxxxxxx"
> DEPENDS=""
> TARBALL="$PACKAGE-$VERSION.tar.gz"
> WEB_SITE="http://www.jedrea.com/chmlib"
> WGET_URL="http://www.jedrea.com/chmlib/$TARBALL"
>
> # Rules to configure and make the package.
> compile_rules()
> {
> cd $src
> ./configure --prefix=/usr --infodir=/usr/share/info \
> --mandir=/usr/share/man $CONFIGURE_ARGS
> make
> make DESTDIR=$PWD/_pkg install
> }
>
> # Rules to gen a SliTaz package suitable for Tazpkg.
> genpkg_rules()
> {
> mkdir -p $fs/usr/lib
> cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
> }
>
>
> On Mon, Aug 25, 2008 at 9:37 AM, Allan Pinto <allan316@xxxxxxxxx>
> wrote:
> > ok , i got it, sorry for being so slow, ill send the new receipts
> > in some time.
> >
> > On Mon, Aug 25, 2008 at 9:32 AM, Allan Pinto <allan316@xxxxxxxxx>
> > wrote:
> >> ooh ok, im pretty new at this, do you have any examples anywhere,
> >> which i could see and replicate.
> >>
> >> On Mon, Aug 25, 2008 at 7:34 AM, Eric Joseph-Alexandre
> >> <erjo@xxxxxxxxxx> wrote:
> >>> Le Mon, 25 Aug 2008 06:25:54 +0000,
> >>> "Allan Pinto" <allan316@xxxxxxxxx> a écrit :
> >>>
> >>>> Hi,
> >>> Hi.
> >>>
> >>> It works.
> >>> But... We love to have dev files in a separate package.
> >>> chmlib : with /usr/lib/*.so*
> >>> chlib-dev : with /usr/lib/*.a;/usr/include
> >>>
> >>> It would be nice. :)
> >>>
> >>> +Eric.
> >>>
> >>>> below is the receipt for chmlib, can anyone check if its ok.
> >>>>
> >>>> # SliTaz package receipt.
> >>>>
> >>>> PACKAGE="chmlib"
> >>>> VERSION="0.39"
> >>>> CATEGORY="misc"
> >>>> SHORT_DESC="library for dealing with CHM format"
> >>>> MAINTAINER="allan316@xxxxxxxxx"
> >>>> DEPENDS=""
> >>>> TARBALL="$PACKAGE-$VERSION.tar.gz"
> >>>> WEB_SITE="http://www.jedrea.com/chmlib"
> >>>> WGET_URL="http://www.jedrea.com/chmlib/$TARBALL"
> >>>>
> >>>> # Rules to configure and make the package.
> >>>> compile_rules()
> >>>> {
> >>>> cd $src
> >>>> ./configure --prefix=/usr --infodir=/usr/share/info \
> >>>> --mandir=/usr/share/man $CONFIGURE_ARGS
> >>>> make
> >>>> make DESTDIR=$PWD/_pkg install
> >>>> }
> >>>>
> >>>> # Rules to gen a SliTaz package suitable for Tazpkg.
> >>>> genpkg_rules()
> >>>> {
> >>>> mkdir -p $fs/usr
> >>>> cp -a $_pkg/usr/* $fs/usr
> >>>> }
> >>>>
> >>>>
> >>>
> >>> ---
> >>> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
> >>>
> >>
> >>
> >>
> >> --
> >> Thanx and regd's.
> >>
> >> Allan.
> >> http://www.in2dwok.com
> >>
> >
> >
> >
> > --
> > Thanx and regd's.
> >
> > Allan.
> > http://www.in2dwok.com
> >
>
>
>
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/