# HG changeset patch # User Pascal Bellard # Date 1549454882 -3600 # Node ID ac5bcc9f308c7be9c7475a48bbfcf30aba5603f3 # Parent 5b64f26b131142ea1d4030c69b06aa069e5b1f8b Add sgmixer & zmixer diff -r 5b64f26b1311 -r ac5bcc9f308c file/receipt --- a/file/receipt Wed Feb 06 10:00:41 2019 +0100 +++ b/file/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -7,7 +7,7 @@ MAINTAINER="erjo@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.darwinsys.com/file/" +WEB_SITE="https://darwinsys.com/file/" WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL" HOST_ARCH="i486 arm" diff -r 5b64f26b1311 -r ac5bcc9f308c libmagic-dev/receipt --- a/libmagic-dev/receipt Wed Feb 06 10:00:41 2019 +0100 +++ b/libmagic-dev/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="File type determination library using 'magic' numbers (development)" MAINTAINER="erjo@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.darwinsys.com/file/" +WEB_SITE="https://darwinsys.com/file/" WANTED="file" HOST_ARCH="i486 arm" diff -r 5b64f26b1311 -r ac5bcc9f308c libmagic/receipt --- a/libmagic/receipt Wed Feb 06 10:00:41 2019 +0100 +++ b/libmagic/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="File type determination library using 'magic' numbers" MAINTAINER="erjo@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.darwinsys.com/file/" +WEB_SITE="https://darwinsys.com/file/" WANTED="file" HOST_ARCH="i486 arm" diff -r 5b64f26b1311 -r ac5bcc9f308c python-magic/receipt --- a/python-magic/receipt Wed Feb 06 10:00:41 2019 +0100 +++ b/python-magic/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -6,7 +6,7 @@ SHORT_DESC="File type determination library using 'magic' numbers (Python bindings)" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="http://www.darwinsys.com/file/" +WEB_SITE="https://darwinsys.com/file/" WANTED="file" DEPENDS="file python" diff -r 5b64f26b1311 -r ac5bcc9f308c sgmixer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sgmixer/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="sgmixer" +VERSION="0.3" +CATEGORY="multimedia" +SHORT_DESC="sGmixer is simple audio mixer with an easy-to-use GTK 2 interface" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +#WEB_SITE="https://web.archive.org/web/20120617124707/http://openfmi.net/projects/sgmixer/" +WEB_SITE="http://freshmeat.sourceforge.net/projects/sgmixer/" +#WGET_URL="http://openfmi.net/frs/download.php/2/$TARBALL" +WGET_URL="https://crux.ster.zone/distfiles/$TARBALL" +TAGS="mixer" + +DEPENDS="gtk+" +BUILD_DEPENDS="gtk+-dev pkg-config" + +# Rules to configure and make the package. +compile_rules() +{ + sed -i 's|\$(prefix)|$(DESTDIR)&|' Makefile.in + [ -e /usr/lib/pkgconfig/libpng.pc ] || + ln -s libpng12.pc /usr/lib/pkgconfig/libpng.pc + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} diff -r 5b64f26b1311 -r ac5bcc9f308c zmixer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zmixer/receipt Wed Feb 06 13:08:02 2019 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="zmixer" +VERSION="0.2.1" +CATEGORY="multimedia" +SHORT_DESC="A simple volume control that uses the advanced linux sound architecture" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://zwin.org/zmixer/" +WGET_URL="$WEB_SITE$TARBALL" +TAGS="mixer" + +DEPENDS="gtk+ alsa-lib" +BUILD_DEPENDS="gtk+-dev alsa-lib-dev pkg-config" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/zmixer $fs/usr/bin +}