diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/SlackBuild.in | 15 | ||||
-rw-r--r-- | misc/build_rpms.sh.in | 2 | ||||
-rw-r--r-- | misc/xine-lib.spec.in | 4 |
3 files changed, 16 insertions, 5 deletions
diff --git a/misc/SlackBuild.in b/misc/SlackBuild.in index 5db360cda..35a0319fe 100644 --- a/misc/SlackBuild.in +++ b/misc/SlackBuild.in @@ -14,6 +14,15 @@ TMPBUILD=$CWD/tmpbuild #DOINSTDIR=/install # +# Create the post-install script +# +do_install_sh() { +cat > doinst.sh <<EOF +/sbin/ldconfig +EOF +} + +# # Create package description for pkgtool. # do_descr() { @@ -39,9 +48,11 @@ do_build() { rm -rf $TMPBUILD mkdir -p $TMPBUILD cd $TMPBUILD && tar -xzf $CWD/@TAR_NAME@.tar.gz + do_install_sh; cd @TAR_NAME@ DIE=1 ./configure --prefix=$PREFIX && make && make install-strip prefix=$PKG/$PREFIX && \ + mkdir -p $PKG/install && cp $TMPBUILD/doinst.sh $PKG/install && \ cd $PKG && \ echo "n" | makepkg $PACKAGE && \ mv $PACKAGE $SLCK && \ @@ -149,7 +160,7 @@ build_k7() { main() { rm -rf $SLCK mkdir -p $SLCK - rm -f config.cache && ./autogen.sh && make dist + rm -f config.cache && ./cvscompile.sh && make dist build_pentiumpro build_pentium build_k6 @@ -164,7 +175,7 @@ main() { build_arch() { rm -rf $SLCK mkdir -p $SLCK - rm -f config.cache && ./autogen.sh && make dist + rm -f config.cache && ./cvscompile.sh && make dist $barch mv -f $CWD/@TAR_NAME@.tar.gz $SLCK } diff --git a/misc/build_rpms.sh.in b/misc/build_rpms.sh.in index 22630b35b..065e65ce4 100644 --- a/misc/build_rpms.sh.in +++ b/misc/build_rpms.sh.in @@ -24,7 +24,7 @@ fi ##VERSION="@XINE_MAJOR@.@XINE_MINOR@.@XINE_SUB@" echo "Creating tarball..." -rm -f config.cache && ./autogen.sh && make dist +rm -f config.cache && ./cvscompile.sh && make dist mv -f @TAR_NAME@.tar.gz @PACKAGE@_@VERSION@.tar.gz rm -rf rpms mkdir rpms diff --git a/misc/xine-lib.spec.in b/misc/xine-lib.spec.in index 20166125c..d78a335b4 100644 --- a/misc/xine-lib.spec.in +++ b/misc/xine-lib.spec.in @@ -64,8 +64,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{prefix}/bin/xine-config -%{prefix}/man/man1/xine.* -%{prefix}/man/fr/man1/xine.* +%{prefix}/man/man3/xine-lib.* +%{prefix}/man/fr/man3/xine-lib.* %{prefix}/include/xine/*.h %{prefix}/include/xine.h %{prefix}/lib/xine/plugins/*.la |